route-me/route-me — Issue #153: Route-me Right Side Map Missing with iOS 5 not with iOS 4.2
Author: RayY
Created: 2011-11-16 01:04:42+00:00
State: open

When I run route-me with iOS 5 on both Simulator or the iPad I get a different result with iOS 4.2 and 5.0. I have written up a stackoverflow question here: http://stackoverflow.com/questions/8131369/objective-c-route-me-code-behaves-differently-in-ipad-simulator-4-2-and-5

How to reproduce:

Set Xcode 4.2 to iPad 5.0 Simulator (iOS 5), start a new project and add fresh copy of route-me.

[self setMapView:[[RMMapView alloc] init]];
[mapView setFrame:CGRectMake(0, 0, 1024, 768)];
[mapView setBackgroundColor:[UIColor grayColor]];
[mapView.contents setZoom:4.5];
self.view = mapView;

Seems like the right side of the map is cut off whenever I add the line [mapView.contents setZoom:4.5] or any other line trying to modify the mapView contents. Any idea what is causing this?