Map camera animations can cause annotation views to permanently disappear

Originator:haugli
Number:rdar://38832542 Date Originated:March 24, 2018
Status:Open Resolved:
Product:iOS + SDK Product Version:iOS 11.2
Classification:MapKit Reproducible:Always
 
Summary:
Certain sequences of MKMapCamera animations can cause annotation views to permanently disappear from the map.

For example, it happens after calling -[MKMapView setCamera:animated:] twice in rapid succession with a nonzero pitch.

Steps to Reproduce:
1. Run the attached Xcode project
2. Tap the "Eliminate the Pin" button

Expected Results:
The pin remains on the map.

Actual Results:
The pin disappears forever. -[MKMapView removeAnnotation:] was never called.

Version/Build:
11.2

Configuration:
Tested on iPhone X (device) and iPhone 8 (simulator).

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com 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!