IOS中搜索框UISearchBar及搜索方法的使用

搜索框可以用UISearchBar,並且可以設置代理UISearchBarDelegate。 1 -(void)addSearchBar{ 2 CGRect searchBarRect = CGRectMake(0, 0, self.view.frame.size.width, 44); 3 UISearchBar *searchBar = [[UISearchBar all
相關文章
相關標籤/搜索