Skip to content

Option to make the iOS confirm dialog destructive #5553

@cindy-m

Description

@cindy-m

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
). 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

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions