Clear button pressed color in UISearchBar

241 Views Asked by At

enter image description here

How can I change the blue color of clear button when it's pressed?

I'm using this

self.searchDisplayController.searchBar.tintColor = [UIColor whiteColor];

which changes the color of the blink | and of "Cancel" button, but it does not change that blue color.

EDIT: You can just see that Facebook.app does this (the color is white)

0

There are 0 best solutions below