Closed kas84 closed 7 years ago
Please review the Cordova Contributor Guidelines, file a Jira issue and update this PR appropriately.
Let there be tests
A change like this should be documented. Also, we usually don't accept this kind of changes to only one platform, do you know if it's possible to use destructive button styles on other platforms?
I think it's more clear if you use destructiveButtonLabel
instead of addDestructiveButtonWithLabel
in the javascript and in some places of the .m like when you pick the command arguments.
No answer from reporter, will close this down.
Platforms affected
iOS
What does this PR do?
Adds UIAlertActionStyleDestructive support for buttons on iOS.
What testing has been done on this change?
Emulator testing on iOS.