标签:
1. UITextField关闭系统自动联想和首字母大写功能
@property (weak, nonatomic) IBOutlet UITextField *account;
[self.account setAutocorrectionType:UITextAutocorrectionTypeNo];
[self.account setAutocapitalizationType:UITextAutocapitalizationTypeNone];
2. 在Xib中设置密码加密显示
在"Attributes inspector"中选择"Secure Text Entry".
标签:
原文地址:http://www.cnblogs.com/Xylophone/p/5454502.html