随笔分类 -  UI控件的使用及作用

摘要:代码添加后,分割线从头开始显示 #pragma mark -- 分割线- (void)viewDidLayoutSubviews{ [super viewDidLayoutSubviews]; if ([self.tableView respondsToSelector:@selector(setS 阅读全文
posted @ 2016-07-05 20:03 王晓栋 阅读(125) 评论(0) 推荐(0)
摘要://初始化textfield并设置位置及大小 UITextField *text = [[UITextField alloc]initWithFrame:CGRectMake(20, 20, 130, 30)] //设置边框样式,只有设置了才会显示边框样式 text.borderStyle = UI 阅读全文
posted @ 2016-02-24 18:56 王晓栋 阅读(158) 评论(0) 推荐(0)