UItextField
来源:互联网 发布:js年龄正则表达式 编辑:程序博客网 时间:2024/05/14 05:20
passwordTextF.leftView = [[UIViewalloc]initWithFrame:CGRectMake(0,0, 17,30)];
passwordTextF.leftViewMode =UITextFieldViewModeAlways;
passwordTextF.font=textFont;
passwordTextF.delegate=self;
passwordTextF.textColor=TITLECOLOR;
passwordTextF.tag=102;
passwordTextF.secureTextEntry=YES;
passwordTextF.clearsOnBeginEditing=YES;//再次编辑清空
passwordTextF.keyboardType=UIKeyboardTypeDefault;//支持电子邮件键盘
passwordTextF.attributedPlaceholder = [[NSAttributedStringalloc] initWithString:@"LoginViewController_密码" attributes:@{NSForegroundColorAttributeName:TITLECOLOR,NSFontAttributeName:textFont}];
0 0
- UITextField
- UITextField
- UITextField
- UITextField
- UITextField
- UITextField
- UITextField
- UITextField
- UITextField
- UITextField
- UITextField
- UITextField
- UITextField
- UITextField
- UITextField
- UITextField
- UITextField
- UITextField
- ble蓝牙通信
- MySQL 实例
- HDU 1083 Courses(二分图,匈牙利算法)
- Java设计模式
- jquery对象和js的dom对象之间的转换
- UItextField
- Oracle 动态性能视图之V$LOCK
- 哈理工OJ 1031 _OOOO_ Problem(简单模拟问题)
- mysql中如何获取当前时间以及对时间的处理函数
- HTML 中thead tbody tfoot 的使用方法
- HDU 3078 Network 在线LCA
- 秀场直播风头正劲,网易视频云助力破除音视频技术壁垒
- EJS模板介绍
- ArrayList和LinkedList的区别,Hashtable和HashMap类的区别?