isarathg isarathg - 2 years ago 123
Objective-C Question

Using bookmark button in UISearchbar

How can we use the bookmark button that appears in UISearchbar? I didn't find any delegate methods for that.

Answer Source
searchBar.showsBookmarkButton=YES;

And then you can use the delegate method for when it is clicked:

- (void)searchBarBookmarkButtonClicked:(UISearchBar *)searchBar
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download