ITeye博客

UIImageView 设置圆角

修博龙泉 · 2012-11-12 14:43 · ios开发学习相关 · 移动开发 · Markdown


#import <QuartzCore/QuartzCore.h>       
 CALayer *l = [uiimageview layer];
        [l setmaskstobounds:yes];
        [l setcornerradius:6.0];
        [headerscrollview addsubview:headerimage];

评论(0)

暂无评论。

评论功能维护中,当前仅展示历史评论。