iOS UIImageView加边框和圆角
来源:互联网 发布:淘宝退货和退款的区别 编辑:程序博客网 时间:2024/06/05 05:36
UIImageView *imageView = [[UIImageView alloc]initWithImage:[UIImage imageNamed:@"944d2c2393.jpg"]]; imageView.frame = CGRectMake(50, 100, 200,300); //设置圆角 imageView.layer.cornerRadius = 5.0; imageView.layer.masksToBounds = YES; //加边框 imageView.layer.borderColor = [UIColor blueColor].CGColor; imageView.layer.borderWidth = 1.0;
附带:
UITableViewCell 隐藏底线和 UITableView点击Cell无状态cell.selectionStyle=UITableViewCellSelectionStyleNone;
detailTableView.separatorStyle = UITableViewCellSeparatorStyleNone;
只是简单的记录下,方便以后使用.好记性真不如烂笔头.
0 0
- iOS UIImageView加边框和圆角
- ios--UIImageView添加边框和阴影
- iOS--UIImageView添加边框和阴影
- iOS button加边框设置圆角
- textview加矩形边框和圆角边框
- textview加矩形边框和圆角边框
- [IOS]UIButton&UIImageView导圆角设边框
- UIImageView添加边框和阴影
- UIImageView添加阴影和边框
- UIImageView添加边框和阴影
- UIImageView 添加边框和阴影
- iOS UITextView加边框
- 圆角图片(加边框)
- iOS之给button加边框 . 圆角弧度 . 加阴影
- iOS之给button加边框 . 圆角弧度 . 加阴影
- iOS - UIButton设置圆角和边框及边框颜色
- IOS UIImageview 添加边框 或者设置成圆角
- Ios UIButton 设置圆角和边框
- Android学习笔记 - BitmapFun解析
- bitbake变量
- 制作ubuntu光盘启动盘
- Solr调研总结
- 和小白一起学ABAP -- 4 官方教程
- iOS UIImageView加边框和圆角
- 前端开发应该注意的问题
- Comet:基于 HTTP 长连接的“服务器推”技术
- nginx+lua+redis构建高并发应用(ubuntu)
- JAVA 继承基本类、抽象类、接口
- Hadoop2.2.0+Hbase.96配置过程
- Struts2的控制器
- python网络爬虫初步
- dede实现面包屑导航自动加上锚本文