I have uisearchbar in a uiview which is already subview of a uiviewController, I want to show the search bar in full screen when search bar is edited, i need to show the searching event in full screen, how to do this?
here is my screen
here i have added search bar to the tableview header view and table view is already having header view, this search bar is covering my first element in table view,
how to start table view after search bar ended?
You can make your class a UISearchDisplayDelegate and implement the hiding/moving of the search bar in the searchDisplayControllerDidEndSearch: method. To show the search bar in fullscreen, your class should implement the UISearchBarDelegate protocol and the searchBarShouldBeginEditing: function in particular.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With