开发者

uisearchbar iphone how to get string

开发者 https://www.devze.com 2023-03-25 07:10 出处:网络
i have a question regarding uisearchbar for the iphone. How can i get access to the string the user is typing in the search bar and store it in a开发者_Python百科 separate NSString, so it updates for

i have a question regarding uisearchbar for the iphone. How can i get access to the string the user is typing in the search bar and store it in a开发者_Python百科 separate NSString, so it updates for every keystroke entered?


You setup the UISearchBar delegate to a object that implements the UISearchBarDelegate interface.

The method 'searchBar:textDidChange:' is called whenever the text in the search bar is changed.

0

精彩评论

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