iPhone SDK: UISearchBar: searchBarTextDidEndEditing not firing

前端 未结 3 1594
心在旅途
心在旅途 2020-12-19 14:12

I\'m implementing a search bar on my table, which should be pretty straight forward. I\'ve got these:

- (void)searchBarTextDidBeginEditing:(UISearchBar *)the         


        
3条回答
  •  既然无缘
    2020-12-19 15:16

    Even i faced the same problem.

    Please find with the solution below

    Implement Below methods

    1.searchBarTextDidEndEditing
    2.searchBarSearchButtonClicked

    and make sure you [UISearchchbar resignfirstresponder] in the second method mentioned above

提交回复
热议问题