【发布时间】:2018-05-14 08:19:44
【问题描述】:
我想使用swift 对iOS 中UIView 的不同角应用不同的角半径值。这意味着UIView 的topLeft, topRight, bottomLeft, bottomRight 角应该有不同 corner radiuous(即1、5、10、15)。怎么实现呢?
我尝试以相同的方式应用cornerRadius,但它会覆盖以前的cornerRadius 值。
【问题讨论】:
-
也可以通过this tutorial
-
@ReinierMelian 谢谢。这就是我要找的。至少,我从中得到了要点。
标签: ios swift uiview cornerradius