Good day. Customize SearchBar custom. And stumbled upon a problem that I can not solve. The "Cansel" -> "Cancel" button has some kind of gray shadow, and I cannot disable it. As I just did not try to do it.
cancelButton.titleLabel.shadowColor = [UIColor greenColor]; //Цвет для теста cancelButton.titleLabel.layar.shadowColor = [UIColor greenColor]; cancelButton.titleLabel.textColor = [UIColor redColor]; cancelButton.titleLabel.backgroundColor = [UIColor redColor]; Nothing helps to remove this effect. 

Tried even to lay down UILable on button but unsuccessfully. Tell me how to do it !!!
Thanks in advance