uisearchbar iphone how to get string
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.
精彩评论