0

I would like to set the text color of my UIAlertAction to red. Does anyone know how to do that? I would be very happy to hear from you. Best regards

enter image description here

1 Answers1

0

You can try

cancelAction.setValue(yourColor, forKey: "titleTextColor")

where yourColor is the UIColor you want to set