view 边框颜色 tag值设定等
2016-04-22 11:51
162 查看
//添加边框和提示
CGRect frameRect = CGRectMake(20, 90, self.window.frame.size.width-40, self.window.frame.size.height-180);
UIView *frameView = [[UIView alloc] initWithFrame:frameRect] ;
frameView.layer.borderWidth = 1;
frameView.layer.borderColor = [[UIColor whiteColor] CGColor];
//
cell.layer.cornerRadius = 12;
cell.layer.masksToBounds = YES;
cell.layer.borderWidth = 1;
cell.layer.borderColor = [[UIColor orangeColor] CGColor];
UIImageView *imagView = [[UIImageView alloc]init];
imagView.image = [UIImage imageNamed:@"xuanZhognImage"];
cell.backgroundView = imagView;
UILabel * lab = (UILabel *)[self.view viewWithTag:4022+indexPath.item];
lab.textColor = [UIColor orangeColor];
CGRect frameRect = CGRectMake(20, 90, self.window.frame.size.width-40, self.window.frame.size.height-180);
UIView *frameView = [[UIView alloc] initWithFrame:frameRect] ;
frameView.layer.borderWidth = 1;
frameView.layer.borderColor = [[UIColor whiteColor] CGColor];
//
cell.layer.cornerRadius = 12;
cell.layer.masksToBounds = YES;
cell.layer.borderWidth = 1;
cell.layer.borderColor = [[UIColor orangeColor] CGColor];
UIImageView *imagView = [[UIImageView alloc]init];
imagView.image = [UIImage imageNamed:@"xuanZhognImage"];
cell.backgroundView = imagView;
UILabel * lab = (UILabel *)[self.view viewWithTag:4022+indexPath.item];
lab.textColor = [UIColor orangeColor];
相关文章推荐
- 2016年计划
- 冒泡法最好情况下实现时间复杂度O(n)代码
- iOS开发 -- CoreLocation实现定位
- delphi学习_安装
- [mysql+qt] 图书管理系统
- 编译与静态链接
- 爱的语言
- Centos 日志处理
- ERROR org.apache.hadoop.hdfs.server.namenode.SecondaryNameNode: Exception in doCheckpoint
- ./configure 参数详解
- c++ vector(向量)使用方法详解
- 提升html5的性能体验系列之二列表流畅滑动
- AarryList和LinkedList比较
- SecureCRT 的安装和注册
- java虚拟机规范-运行时栈帧
- java自定义classloader引发的思考
- Android开发之蓝牙Socket
- elasticsearch更改mapping(不停服务重建索引)
- javascript设计模式介绍(七)稳妥构造函数模式
- java 代码实现 Top N 问题