Cursor invisible in UISearchBar iOS 7

后端 未结 6 935
攒了一身酷
攒了一身酷 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 setting text field tint color using UIAppearance

    [[UITextField appearanceWhenContainedIn:[UISearchBar class], nil] setTintColor: [UIColor darkGrayColor]];
    

提交回复
热议问题