The above code snippet will keep the map in the portrait orientation and won't rotate the map when the device is moved to a landscape orientation. Instead of returning (interfaceOrientation == UIInterfaceOrientationPortrait) the method should return YES.