【发布时间】:2017-01-01 11:52:09
【问题描述】:
我正在添加这样的阴影。
vwVertical=[[UIView alloc] init];
[vwVertical setBackgroundColor:[UIColor whiteColor]];
vwVertical.translatesAutoresizingMaskIntoConstraints = NO;
vwVertical.layer.shadowColor=[UIColor colorWithRed:32/255 green:59/255 blue:90/255 alpha:1.0].CGColor;
vwVertical.layer.shadowOffset=CGSizeMake(5, 0);
vwVertical.layer.shadowOpacity=0.12;
vwVertical.layer.shadowRadius=6.5;
[vwBlock addSubview:vwVertical];
但这是添加阴影 3 面。我怎样才能添加到右侧。 请帮我。 谢谢
【问题讨论】:
标签: ios uiview dropshadow