控件设置圆角

#import <QuartzCore/QuartzCore.h>

myView.layer.cornerRadius = 8;
myView.layer.masksToBounds = YES;


你可能感兴趣的:(import)