DixieFlatline DixieFlatline - 9 months ago 37
Objective-C Question

How to change cursor color in iphone's UISearchBar?

Is it possible to change color of cursor in



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.