-(void)addSingleSidesShadowToView:(UIView *)theView withColor:(UIColor*)theColor{
//阴影颜色
theView.layer.shadowColor = theColor.CGColor;
//阴影偏移
theView
给view添加单边阴影
最新推荐文章于 2022-02-23 17:18:57 发布
![](https://img-home.csdnimg.cn/images/20240711042549.png)
-(void)addSingleSidesShadowToView:(UIView *)theView withColor:(UIColor*)theColor{
//阴影颜色
theView.layer.shadowColor = theColor.CGColor;
//阴影偏移
theView