-->

How to enable Two-Finger rotation on Apple Maps

2019-08-15 11:24发布

问题:

How can i enable Two-Finger rotation feature that we see in New Apple Maps in iOS6?

Has anyone done this yet? Is there something in the documentation i might be able to find?

Thanks Everyone.

回答1:

It is not possible to have the rotation with the MKMapView, this is not available as a setting in the official API.



回答2:

It's not possible. The API which apple has documented does not include rotation with two-fingers, Here is the Documentation : Two-Finger



回答3:

just do:


[mapView setRotateEnabled:YES];

edit: (this is new in iOS7, just putting it here in case someone finds this thread and needs the answer)