How to enable Two-Finger rotation on Apple Maps

2019-08-15 10:43发布

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.

3条回答
太酷不给撩
2楼-- · 2019-08-15 11:23

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

查看更多
劳资没心,怎么记你
3楼-- · 2019-08-15 11:27

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

查看更多
SAY GOODBYE
4楼-- · 2019-08-15 11:35

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)

查看更多
登录 后发表回答