如何将角半径添加到带图像的按钮?

时间:2017-06-29 18:55:27

标签: swift

我使用了以下代码。当按钮没有图像时,转角半径出现。添加图像后,它会再次返回矩形。

button.layer.cornerRadius = 4

0 个答案:

没有答案
相关问题