---
title: "iPhone 开发 实现图片显示圆角效果"
author: "sinaier"
date: "2011-11-21T19:45:41Z"
tags: []
categories: ["移动开发"]
slug: "iphone"
draft: false
lastmod: "2011-11-21T19:45:41Z"
id: 1271069
url: "https://sinaier.iteye.com/blog/1271069"
---

/****设置图片圆角begin***/  
 asyncImage.layer.masksToBounds = YES;  
  asyncImage.layer.cornerRadius = 5.0; 
   asyncImage.layer.borderWidth = 0.5;  
  asyncImage.layer.borderColor =  CGColor];