Change button title color in UIAlertView

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

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

\"enter

7条回答
  •  长发绾君心
    2021-01-11 18:03

    Actually, you can change the tint color of the view of the UIAlertController in iOS8.

    UIAlertController *alertController = ....
    [alertController.view setTintColor:[UIColor greenColor]];
    

提交回复
热议问题