UITextField 如何设置为密码方式显示?
UITextField 怎么设置成为一个 *号密码框 呢?
可以在 Interface Builder 里面直接设置吗?
[解决办法]
Attributes inspector 中 Text Field 下选中 Secure就可以了。
[解决办法]
UItextField * test = [ UItextField alloc] init ];
test.secureTextEntry = YES;
[解决办法]
发布时间: 2012-08-17 02:08:34 作者: rapoo
UITextField 如何设置为密码方式显示?
UITextField 怎么设置成为一个 *号密码框 呢?
可以在 Interface Builder 里面直接设置吗?
[解决办法]
Attributes inspector 中 Text Field 下选中 Secure就可以了。
[解决办法]
UItextField * test = [ UItextField alloc] init ];
test.secureTextEntry = YES;
[解决办法]