I have a MKMapView
inside of a navigation controller in my app. Under iOS 9.2, I was correctly seeing the little map compass view appear below my navigation bar when I would rotate the map view.
Under iOS 9.3, the compass appears to be under the navigation bar. To confirm this, I've overridden topLayoutGuide
in the view controller for my map view, and can see that it is not being called by the MKMapView
, when it was in iOS 9.2 (to update the insets for the map). Here's the call stack under iOS 9.2:
When run under iOS 9.3, this call from _updateInsets
is never made. Is this a bug (e.g. should I file an Apple Radar), or did something fundamentally change with map insets, and now I need to actively set them? I did not see anything in the documentation.
Thanks!
EDIT: It should be noted that I am not using storyboards, or auto-layout. It's an older project that I haven't converted to these things yet.