#import <QuartzCore/QuartzCore.h> //设置圆角边框 retweetedView.layer.cornerRadius = 8; retweetedView.layer.masksToBounds = YES; //设置边框及边框颜色 retweetedView.layer.borderWidth = 2; retweetedView.layer.borderColor =[ [UIColor grayColor] CGColor];
#import <QuartzCore/QuartzCore.h> //设置圆角边框 retweetedView.layer.cornerRadius = 8; retweetedView.layer.masksToBounds = YES; //设置边框及边框颜色 retweetedView.layer.borderWidth = 2; retweetedView.layer.borderColor =[ [UIColor grayColor] CGColor];