当前位置: 代码迷 >> Iphone >> iPhone 开发 兑现图片显示圆角效果
  详细解决方案

iPhone 开发 兑现图片显示圆角效果

热度:390   发布时间:2016-04-25 06:20:14.0
iPhone 开发 实现图片显示圆角效果
/****设置图片圆角begin***/ 
asyncImage.layer.masksToBounds = YES; 
  asyncImage.layer.cornerRadius = 5.0;
   asyncImage.layer.borderWidth = 0.5; 
  asyncImage.layer.borderColor = [[UIColor grayColor] CGColor];
  相关解决方案