首页 > 安全资讯 >

view圆角设置

13-04-19

#import <QuartzCore/QuartzCore.h> uiView.layer.masksToBounds = YES; uiView.layyer.cornerRadius = 6.0; uiView.layer.borderWidth = 1.0; uiView.layer.borderColor = [[UIColor whiteColor] CGColor];

#import <QuartzCore/QuartzCore.h>

    uiView.layer.masksToBounds = YES;

    uiView.layyer.cornerRadius = 6.0;

    uiView.layer.borderWidth = 1.0;

    uiView.layer.borderColor = [[UIColor whiteColor] CGColor];

 

相关文章
最新文章
热点推荐