I have an xCode project that contains a tableview with a “Search Bar and Search Display Controller” to allow the user to refine the list of displayed items. In general, the
I have had this problem too. Strangely other delegate methods of UISearchBarDelegate are being called. A workaround might be:
UISearchBarDelegate
- (void)searchBar:(UISearchBar *)searchBar textDidChange:(NSString *)searchText{ if ([searchText length] == 0) { NSLog("No Text"); } }
It worked for me