I want to change the color of title of UIAlertActionSheet.
"alert.view.tintColor" changes the color of all the action buttons but not title.
I want to change the color of title of UIAlertActionSheet.
"alert.view.tintColor" changes the color of all the action buttons but not title.
you can try this an it may work with you
let myCancelAlert = UIAlertAction(title: "Cancel", style: UIAlertActionStyle.default, handler:nil)
myCancelAlert.setValue(UIColor.black, forKey: "titleTextColor")
alert.addAction(cancelAlert)