Type Safely

Type Safely

Use .confirmationDialog To Add Actions To a Popover

Daily Coding Tip 132

Millie Sturgeon's avatar
Millie Sturgeon
Jul 21, 2022
∙ Paid
Image by Michael Pointner from Pixabay

If the user needs to confirm something that is about to happen, it’s possible to use an alert. A confirmation dialog is a less obtrusive version of this, similar to what used to the deprecated UIActionSheet. It’s a popover that appears at the bottom of the screen on iOS devices, with a default action that dismisses …

User's avatar

Continue reading this post for free, courtesy of Type Safely.

Or purchase a paid subscription.
© 2026 Type Safely · Privacy ∙ Terms ∙ Collection notice
Start your SubstackGet the app
Substack is the home for great culture