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) -

java - JPA TypedQuery: Parameter value element did not match expected type -

c++ - static template member variable has internal linkage but is not defined -