Hang layer.shadowColor shadow properties of the layer of UIView

layer.shadowColor = [UIColor blackColor].CGColor;

 

When UIView itself is transparent when provided shadowColor ineffective

 

Guess you like

Origin www.cnblogs.com/yibinpan/p/11640497.html