DixieFlatline DixieFlatline - 1 year ago 74
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.