IOS UISearchDisplayDelegate, iosdelegate
Search status change
- -SearchDisplayControllerWillBeginSearch: // you are about to start searching.
- -SearchDisplayControllerDidBeginSearch: // search started
- -SearchDisplayControllerWillEndSearch: // The search is about to end.
- -SearchDisplayControllerDidEndSearch: // the search has been completed.
Mount and uninstall tableview
- -SearchDisplayController: didLoadSearchResultsTableView: // The controller is loaded into tableview.
- -SearchDisplayController: willUnloadSearchResultsTableView: // the Controller will uninstall tableview.
Show and hide tableview
- -SearchDisplayController: willShowSearchResultsTableView: // table to be displayed
- -SearchDisplayController: didShowSearchResultsTableView: // table already displayed
- -SearchDisplayController: willHideSearchResultsTableView: // table to be hidden
- -SearchDisplayController: didHideSearchResultsTableView: // table already displayed
Response to changing search criteria
- -SearchDisplayController: shouldReloadTableForSearchString: // called when the query string is changed
- -SearchDisplayController: shouldReloadTableForSearchScope: // call when the search range is changed (used when the show scope attribute is applied to the SearchBar)
When the iOS developer UISearchDisplayController finds 3 or 5 items, the scrolling tableview is incorrect.
I don't quite understand what you mean. Do you want to scroll? Or is the data incorrect during scrolling?
Ios delegate attributes
Assign for non-ARC, weak for arc. The pointer will not be released at the moment.