您好我正在使用此扩展程序how to set cornerRadius for only top-left and top-right corner of a UIView?将更圆的角应用于我的UIViews,但是在更新到swift 3.0之后,该扩展程序停止了在其他视图之上显示的UIViews。
答案 0 :(得分:1)
将此行放在控制器中所有...layer.cornerRadius =
行之前:
self.view.layoutIfNeeded()
答案 1 :(得分:0)
我有同样的问题,在故事板中激活'Clip to Bounds'