Create an IBOutlet for your search, then add the searchBar properties to your delegate.
This method should be called when the text in the search bar changes:
- (void)searchBar:(UISearchBar *)searchBar textDidChange:(NSString *)searchText;
Of course, you should add protocols for your viewController monitor:
<UISearchBarDelegate, UISearchDisplayDelegate>
source
share