i have put a UISearchBar into uitableview headerview and in viewcontroller viewdidLoad methods sets the headerview height to 0 and hide the searchbar, and wanted to show searchbar when the button will touched, in touch handler i restore the headerview height and show uisearchbar, but the searchbar overlays the first row of tableview. is there any way to avoid overlaying?
i have put a UISearchBar into uitableview headerview and in viewcontroller viewdidLoad methods sets
Share
Setting the clipsToBounds property of the headerview to YES will do just that.