I need to change the color of Cancel button text of UISearchBar
in iOS7.
Normally UISearchBar
Cancel button textColor
is blue and I want to change textColor
to redColor
.
How can i change it?
ios7textcoloruisearchbar
I need to change the color of Cancel button text of UISearchBar
in iOS7.
Normally UISearchBar
Cancel button textColor
is blue and I want to change textColor
to redColor
.
How can i change it?
Best Answer
I found answers for my own questions.
Here is code , add in
AppDelegate
if you want to change all cancel button.Swift: