How to enable Two-Finger rotation on Apple Maps

♀尐吖头ヾ 提交于 2019-12-11 10:07:59

问题


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)



来源:https://stackoverflow.com/questions/12777404/how-to-enable-two-finger-rotation-on-apple-maps

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!