Sunday, December 1, 2013

How to set password UITextField display?

Set UITextField how to become a * Password box it?

Interface Builder can be set directly in there?
Reply:
Select the Text Attributes inspector Secure Field under it.
Reply:
UItextField * test = [UItextField alloc] init];

test.secureTextEntry = YES;
Reply:
There is a Secure option in the properties, the hook can be
Reply:
reference to the third floor of the reply:
have a Secure option in the properties, the hook on it


+ 1
Reply:
reference to the second floor of the reply:
UItextField * test = [UItextField alloc] init];

test.secureTextEntry = YES;


When his draw would use this if it is checked by the .. ib directly on the line inside the property

No comments:

Post a Comment