ios 7.1 UITextField tint color doesn't change in storyboard -


By iOS 7.0, the text field tint color has changed to color set by you in the storyboard. As of iOS 7.1, unless you do it programmatically, it will not change.

Is this a bug? Do anyone know

Here's the solution to working with storyboards.

1) Go to "Identity inspector"

2) Add the "TintCaller" attribute to "User Defined Runtime Attributes" <3p>

3) Set the desired color.

It.

Enter image details here

Or if you want < / P>

[[UITextField presence] setTintColor: color]; Use the same tint color for all the textfields in the app,

Comments

Popular posts from this blog

Java - Error: no suitable method found for add(int, java.lang.String) -

c# - passing input text from view to contoller with FacebookContext using Facebook app -

Calling a C++ function from C# by passing a string with variable size to it -