搜索状态改变
- – searchDisplayControllerWillBeginSearch://将要开始搜索
- – searchDisplayControllerDidBeginSearch://已经开始搜索
- – searchDisplayControllerWillEndSearch://将要结束搜索
- – searchDisplayControllerDidEndSearch:// 已经结束搜索
装载和卸载tableview
- – searchDisplayController:didLoadSearchResultsTableView://控制器装载完成tableview
- – searchDisplayController:willUnloadSearchResultsTableView://控制器将要卸载tableview
显示和隐藏tableview
- – searchDisplayController:willShowSearchResultsTableView://table 将要显示
- – searchDisplayController:didShowSearchResultsTableView: //table已经显示
- – searchDisplayController:willHideSearchResultsTableView://table将要隐藏
- – searchDisplayController:didHideSearchResultsTableView: //table已经显示
改变搜索条件的响应
- – searchDisplayController:shouldReloadTableForSearchString://改变查找字符串时调用
- – searchDisplayController:shouldReloadTableForSearchScope://改变查找范围时调用(在SearchBar中应用show scope属性的时候用)