UITextField显示密码

1. [password setSecureTextEntry:YES];

2. 在XIB中拖入一个 TextField ,在Attributes Inspecter 中把 Secure 那个chekbox给勾上 

posted @ 2013-10-22 16:36  时光独白  阅读(301)  评论(0编辑  收藏  举报