You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In native iOS, you have the possibility to use a destructive styling for the UIAlert (ok and cancel button next to each other and cancel button in red, like this:
). In Nativescript, the dialogs have no extra option or other possibility to use that style. The enum UIAlertActionStyle has a value Destructive, but that is not used anywhere. Is there some other possibility to get the destructive dialog for iOS without writing the plugin myself?
Which platform(s) does your issue occur on?
iOS
Please provide the following version numbers that your issue occurs with:
CLI: 3.4.0
The text was updated successfully, but these errors were encountered:
Hi @cindy-m,
In this case, you could use cancelButtonText and neutralButtonText options of the confirm. This will allow you to display both buttons next to each other. For example:
XML
Did you verify this is a real problem by searching the NativeScript Forum and the other open issues in this repo?
Yes
Tell us about the problem
In native iOS, you have the possibility to use a destructive styling for the UIAlert (ok and cancel button next to each other and cancel button in red, like this:
![uialertcontroller-alert-cancel-destroy](https://user-images.githubusercontent.com/1243970/37524053-05fc3eb0-2929-11e8-8d7c-6d7b9336c514.png)
). In Nativescript, the dialogs have no extra option or other possibility to use that style. The enum UIAlertActionStyle has a value Destructive, but that is not used anywhere. Is there some other possibility to get the destructive dialog for iOS without writing the plugin myself?
Which platform(s) does your issue occur on?
iOS
Please provide the following version numbers that your issue occurs with:
The text was updated successfully, but these errors were encountered: