开发者

how to call a method in UISearchBar

i want that when user input in search box then

this text is store in global variable and a method is called which in another class ,how should i do this..... any idea please

Thanks.....开发者_开发问答


You have to implement the UISearchBarDelegate Protocol

if you want to react on a finished input by user (read: after the user wrote something into the searchbar's textfield and pressed "search" on the keyboard) you have to implement

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜