<分区>
Possible Duplicates:
UIView with rounded corners
Round two corners in UIView
我知道将 UIView 的所有四个角都倒圆角的方法,但我怎么能只将 View 的底角倒圆角呢?
<分区>
Possible Duplicates:
UIView with rounded corners
Round two corners in UIView
我知道将 UIView 的所有四个角都倒圆角的方法,但我怎么能只将 View 的底角倒圆角呢?
最佳答案
为此,您需要使用CALayer
mask 。这个问题Just two rounded corners?和 accepted answer应该让你开始。如果你遇到麻烦,那么你应该看看这个后续帖子:Round two corners in UIView
关于iphone - 我怎样才能只舍入 UIView 的底角?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/7014562/