How to replace the color of a single button in the AlertSheet?
Asked
Active
Viewed 66 times
-2
-
maybe [this](https://stackoverflow.com/a/19191489/6371663) can help – Bish25 Jun 07 '17 at 08:55
-
You shouldn't, it's not supported. – Sulthan Jun 07 '17 at 08:56
1 Answers
0
If you are looking to use a destructive button you can change the style to destructive.
The below example will make delete red;
self.optionAlertController.addAction(UIAlertAction(title: "Delete", style: .destructive, handler: { (action: UIAlertAction!) in

CAH
- 69
- 3