Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我必须为矩形视图提供一个角半径,其中一侧比其他三侧更圆。
角落遮罩在 iOS 9 和 10 中不起作用,那么除了使用角落遮罩和贝塞尔路径之外,还有其他方法可以用于所有 iOS 版本吗?
更新:我想知道是否有任何方法可以在不使用 UIBezierPath 的情况下实现相同的目标。任何类似于 iOS 11 之前的 shapelayer 的后备。