arcgis-maps-sdk-swift-toolkit
arcgis-maps-sdk-swift-toolkit copied to clipboard
Use confirmationDialog instead of alert
trafficstars
We should look at using the new .confirmationDialog modifier for presenting alerts. This is available in iOS 17 and macOS Sonoma I believe.
Those modifiers were actually introduced in iOS 15. The toolkit already uses one of them in UtilityNetworkTrace.
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.