我有两个按钮,但我只想将一个 更改为红色.当我使用下面的功能时,它会全部变为红色.我只想改变一个按钮的颜色.我该怎么做?
alertController.view.tintColor = UIColor.redColor()
objective-c ios swift uialertcontroller
ios ×1
objective-c ×1
swift ×1
uialertcontroller ×1