1.UITextField的初始化和设置
1 |
textField |
2 |
[textField //外框类型 |
3 |
textField.placeholder "password" ; //默认显示的字 |
4 |
textField.secureTextEntry YES ; //密码 |
5 |
textField.autocorrectionType |
6 |
textField.autocapitalizationType |
7 |
textField.returnKeyType |