Getting notified when user presses "Search" on keyboard in UISearchDisplayController
UISearchDisplayController
has a UISearchBar
, you can set a delegate for search bar and implement -searchBarSearchButtonClicked:
.
- (void)searchBarSearchButtonClicked:(UISearchBar *)searchBar {
}
This also works with the keyboard search button.