I am currently using the following method to stop the cancel button item from showing up in the search bar. I have a custom UIButton
that I would like to use instead.
The problem is that at the moment the built in cancel button is still showing up.
- (void)searchDisplayControllerDidBeginSearch:(UISearchDisplayController *)controller
{
controller.searchBar.showsCancelButton = NO;
}
thanks for any help