Does this work in iOS6?
Opened this issue · 2 comments
ryanschmidt commented
In my testing, the zoomLevel is no longer correct when using this class under iOS6. Has anyone else noticed this issue?
chadedrupt commented
Yeah i've noticed it too.
chadedrupt commented
Ok, so it seems its a combination of using Auto Layout and trying to set the zoom level before the view has layed out its subviews.
The code to set the zoomLevel uses the maps physical size.
If you try to set the zoomLevel in viewWillAppear: the map will still have a size of 0,0;
Try putting the code in viewDidAppear: it seems that at this point the maps bounds and frame have been set