Reputation: 1388
I have an UIAlertView
which highlights the Cancel button, but it should highlight the other one. Switching the buttons is not an option.
This is how I initialised the Alert:
let downloadAlert = UIAlertView(title: NSLocalizedString("Title", comment: ""),
message: NSLocalizedString("Message", comment: ""),
delegate: self,
cancelButtonTitle: NSLocalizedString("Cancel", comment: ""),
otherButtonTitles: NSLocalizedString("Okay", comment: ""))
And this is how it looks: Thanks for your help.
Upvotes: 0
Views: 343