I\'m using the UISearchBar (but not the SearchDisplayController that\'s typically used in conjunction) and I\'d like to dismiss the keyboard when you hit the \'X\' button.>
- (void)searchBarTextDidEndEditing:(UISearchBar *)searchBar { SearchBar.showsCancelButton =NO; } - (void)searchBarCancelButtonClicked:(UISearchBar *)searchBar { [SearchBar resignFirstResponder]; }