I have a UISearchBar with a cancel button. User types and hit search button. The keyboard disappear. If the user hit the cancel button, the keyboard appear and then if user hit cancel again, delegate method is called :
- (void)searchBarCancelButtonClicked:(UISearchBar *)searchBar
Why ?
I just want a direct action on cancel button without any keyboard showing up.