Rodrigo Ruiz Rodrigo Ruiz - 1 year ago 85
Swift Question

Bug: `UITextField.appearance().tintColor` changes `rightBarButtonItem` color

I don't know why, but this line

UITextField.appearance().tintColor =

Makes my
blue... (it's also set to orange somewhere else in code).

I did confirm that commenting that line makes the
orange as I'd expect.

Any ideas of what might be wrong?

Answer Source

looking your code its difficult to find out. But you can try another approach add navigation item using attribute inspector inside your viewcontroller and then add barbuttonitem on right and add button inside it and then change the color whatever you required.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download