Cursor invisible in UISearchBar iOS 7

后端 未结 6 942
攒了一身酷
攒了一身酷 2020-12-11 15:04

I have UISearchBar in UITableView as a table header. When I push the UISearchBar for start searching, this method is being triggered

6条回答
  •  不知归路
    2020-12-11 15:46

    try using with

    -(void)searchDisplayControllerWillBeginSearch:(UISearchDisplayController *)controller
    {
        self.navigationItem.titleView.tintColor = [UIColor blueColor];
    
    }
    

    hope this will help you

提交回复
热议问题