Reputation: 878
How can we use the bookmark button that appears in UISearchbar? I didn't find any delegate methods for that.
Upvotes: 8
Views: 5281
Reputation: 832
searchBar.showsBookmarkButton = YES;
And then you can use the delegate method for when it is clicked:
- (void)searchBarBookmarkButtonClicked:(UISearchBar *)searchBar
Upvotes: 14