2010-09-08 52 views

回答

13
searchBar.showsBookmarkButton=YES; 

然後你就可以使用被點擊時它的委託方法:

- (void)searchBarBookmarkButtonClicked:(UISearchBar *)searchBar 
+0

非常感謝您Felixs先生! – isarathg 2010-09-09 15:20:57