📜  ios 圆形按钮 - Swift 代码示例

📅  最后修改于: 2022-03-11 15:01:03.084000             🧑  作者: Mango

代码示例1
button.layer.cornerRadius = button.frame.size.height / 2
// must be in the viewDidLoad func