I have UISearchBar in UITableView as a table header. When I push the UISearchBar for start searching, this method is being triggered>
UISearchBar
UITableView
try using with
-(void)searchDisplayControllerWillBeginSearch:(UISearchDisplayController *)controller { self.navigationItem.titleView.tintColor = [UIColor blueColor]; }
hope this will help you