控件属性
文章平均质量分 73
生活在云上的日子
只有摆脱依赖,才能脱离菜鸟的时代
展开
-
iOS-textfile属性
//初始化textfield并设置位置及大小 UITextField *text = [[UITextField alloc]initWithFrame:CGRectMake(20, 20, 130, 30)]; //设置边框样式,只有设置了才会显示边框样式 text.borderStyle = UITextBorderStyleRoundedRect; typed原创 2015-10-08 16:01:05 · 923 阅读 · 0 评论 -
ios-cell多行文字高度自适应
- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath { static NSString *ID=@"cell"; UITableViewCell *cell=[tableView dequeueReusableCellWith原创 2015-10-14 13:24:05 · 434 阅读 · 0 评论