arcgis-maps-sdk-swift-toolkit icon indicating copy to clipboard operation
arcgis-maps-sdk-swift-toolkit copied to clipboard

Use confirmationDialog instead of alert

Open rolson opened this issue 2 years ago • 2 comments
trafficstars

We should look at using the new .confirmationDialog modifier for presenting alerts. This is available in iOS 17 and macOS Sonoma I believe.

image

rolson avatar Jun 08 '23 15:06 rolson

Those modifiers were actually introduced in iOS 15. The toolkit already uses one of them in UtilityNetworkTrace.

philium avatar Jun 08 '23 16:06 philium

confirmationDialog was first designed as the replacement of iOS UIAlertController's actionSheet style. It seems like this improvement is focused on bringing macOS UI more unified with mobile platforms. Currently on Mac Catalyst they don't look native for desktop.

yo1995 avatar Jun 13 '23 17:06 yo1995