ios 圆角和阴影共存效果
2020-05-03 本文已影响0人
Waisti
self.backgroundColor = kColor_white;
self.layer.cornerRadius= 10 ;
self.layer.shadowOpacity = 0.2;
self.layer.shadowColor = [UIColor blackColor].CGColor;
self.clipsToBounds = true;
self.backgroundColor = kColor_white;
self.layer.cornerRadius= 10 ;
self.layer.shadowOpacity = 0.2;
self.layer.shadowColor = [UIColor blackColor].CGColor;
self.clipsToBounds = true;