I've implemented the searchBarSearchButtonClicked delegate method in my view controller
- (void)searchBarSearchButtonClicked:(UISearchBar *)searchBar {
searchBar.text = textView.text
}
The method is successfully called when the "Search" button is clicked but the searchBar.text property is empty.
Any ideas why searchBar.text would be empty?