DixieFlatline DixieFlatline -4 years ago 142
Objective-C Question

How to change cursor color in iphone's UISearchBar?

Is it possible to change color of cursor in


Answer Source

This is possible in iOS 7. Simply set the tint color of your UISearchBar. So, for example, in your app delegate:

[[UISearchBar appearance] setTintColor:[UIColor redColor]];

From what I can tell, this only affects the cursor color.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download