开发者

my searchbar is working with done button how should it call the same method with search button of keybaord :iphone

开发者 https://www.devze.com 2023-01-21 06:09 出处:网络
In my application user input some text开发者_JAVA百科 in searchbar and application genrate RSS feed agiant this text when done button is pressed.

In my application user input some text开发者_JAVA百科 in searchbar and application genrate RSS feed agiant this text when done button is pressed. I want that the same action is performed when the user click on search button of keyboard.

Any Idea.


Set a delegate on your UISearchBar and implement the delegate method

- (void)searchBarSearchButtonClicked:(UISearchBar *)searchBar
0

精彩评论

暂无评论...
验证码 换一张
取 消