iosUITextField属性
2014-11-19 23:23
260 查看
@property UITextField *caption; caption = [[UITextField alloc] initWithFrame:CGRectMake(0, self.frame.size.height/2, self.frame.size.width, 32)]; caption.backgroundColor = [[UIColor blackColor] colorWithAlphaComponent:0.5]; caption.textAlignment = NSTextAlignmentCenter; caption.contentVerticalAlignment = UIControlContentVerticalAlignmentCenter; caption.contentHorizontalAlignment = UIControlContentHorizontalAlignmentCenter; caption.textColor = [UIColor whiteColor]; caption.keyboardAppearance = UIKeyboardAppearanceDark; caption.alpha = 0; caption.tintColor = [UIColor whiteColor]; caption.delegate = self;
相关文章推荐
- iOS开发1:UITextField控件属性
- iOS开发之UITextField常用属性设置
- 给iOS开发新手送点福利,简述UITextField的属性和用法
- IOS-开发日志-UITextField属性
- IOS-开发日志-UITextField属性
- iOS开发3:UITextField控件的属性
- iOS开发之UITextField常用属性设置
- IOS基本控件常用属性及方法(五)---UITextField
- iOS UITextField的相关属性和代理方法
- ios学习笔记——UITextField常用属性及设置
- 【IOS开发】UITextField 常用属性
- iOS UITextField属性
- 基本控件文档-UITextField属性---iOS-Apple苹果官方文档翻译
- [IOS] 经常被忽视的 UITextField 的属性
- IOS开发>>UITextfield控件的所有属性设置与解析
- iOS开发1:UITextField控件属性
- iOS开发:UITextField控件的属性
- IOS的UITextField,UIButton,UIWebView的一些属性介绍和IOS图片资源的使用技巧
- iOS-UITextField属性设置备忘
- iOS图文攻略之UITextField 属性