Change button title color in UIAlertView

后端 未结 7 1459
予麋鹿
予麋鹿 2021-01-11 17:29

How can I change the color of the UIAlertView button title.

\"enter

7条回答
  •  情深已故
    2021-01-11 18:09

    for Swift 3, use:

    alertController.view.tintColor = UIColor.red
    

    AFTER you present your alert controller

提交回复
热议问题