Adjust the call size on the map screen to the orientation of the iPhone

In my iPhone application, I have the function of displaying a map on a map, and my application supports orientation. Now, if the orientation changes, my map view does not resize the request. Please let me know how to make this call to support orientation.

+3
source share
1 answer

there is a method in the application

- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation {
}

you can resize here

0
source

All Articles