Apple Maps restore alert called twice on iOS 13 & iPadOS

Number:rdar://FB7573216 Date Originated:Feb 11, 2020 at 9:32 AM
Status:Open Resolved:
Product:iOS + SDK Product Version:13.0
Classification:Bug Reproducible:Always
Calling the MKMapItem.openMaps when Apple Maps app is uninstalled from the device will cause the system alert that proposes to restore the Apple Maps to appear twice.

Calling MKMapItem.openMaps(with: [sourceMapItem, destinationMapItem], launchOptions: [MKLaunchOptionsDirectionsModeKey: MKLaunchOptionsDirectionsModeDriving]) to open the Apple Maps with the route from the source to the destination, when the Apple Maps app is uninstalled will cause the Maps restoration alert to be called twice or even three times in a row. Two times it flashes immediately and one more time after selecting one of the options.


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!