self.contentView.layer.borderWidth =1;
self.contentView.layer.cornerRadius = 10;
self.contentView.layer.borderColor= [[UIColor colorWithRed:0.52 green:0.09 blue:0.07 alpha:1] CGColor];
[self.contentView.layer setShadowOffset:CGSizeMake(5, 5)];
[self.contentView.layer setShadowOpacity:0.6];
[self.contentView.layer setShadowColor:[UIColor blackColor].CGColor];
一段关于带阴影的UIView切圆角的代码
最新推荐文章于 2020-09-17 20:34:26 发布