是否可以将取消按钮的颜色更改为红色,我知道我们可以使用破坏性样式
let cancelActionButton: UIAlertAction = UIAlertAction(title: "Cancel", style: .Destructive) { action -> Void in print("Cancel") }
但我想分开取消按钮,就像这样
uiactionsheet swift uialertcontroller
swift ×1
uiactionsheet ×1
uialertcontroller ×1