Cursor invisible in UISearchBar iOS 7

后端 未结 6 937
攒了一身酷
攒了一身酷 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 16:01

    Try this it's only one line of code to solve your problem , Change cursor tintColor property white to blue.

      searchBar.tintColor = [UIColor blueColor];
    

    Hope this will help to someone .

提交回复
热议问题