changeMapType: doesn't change the map type


… when sent message from viewDidLoad when the app starts. The segmented control is set to highlight the correct button, and setting a breakpoint confirms that the line

is executed, but the displayed map type stays stubbornly as MKMapTypeStandard. If I then tap the segmented control, the map type changes as you would expect.


I have found the solution. Within

-(void)mapView:(MKMapView *)mapView didUpdateUserLocation:(MKUserLocation *)userLocation

was a line of code:

Commented it out and its fixed.