MKMapView doesn't hide compass control when using MKMapCamera

Originator:vinnycoyne
Number:rdar://14783318 Date Originated:20-Aug-2013
Status:Open Resolved:
Product:iOS SDK Product Version:iOS 7
Classification:Serious Bug Reproducible:Always
 
Summary:

Setting MKMapView's rotateEnabled property to NO doesn't hide the compass UI control when a MKMapCamera is set.

Steps to Reproduce:

1. Alloc & init a MKMapView.
2. Set the MKMapView's rotateEnabled property to NO.
3. Alloc & init a MKMapCamera which will rotate the map and set it as the map's camera.

Expected Results:

The map will appear on-screen, rotated, with no MapKit UI controls.

Actual Results:

Map is displayed and rotated correctly, but the compass UI control is visible in the top-right corner of the screen.

Regression:

Notes:

See attached sample project: http://appsandwich.com/openradar/MapRotate.zip

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!