1

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.

Michael Dautermann
  • 88,797
  • 17
  • 166
  • 215
Haris Hussain
  • 2,531
  • 3
  • 25
  • 38

3 Answers3

2

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

rckoenes
  • 69,092
  • 8
  • 134
  • 166
  • But, the Map app of apple you can rotate the map with two fingers, at least in my iPad Mini, and I want that in my App... – Alejandro L. Mar 22 '13 at 09:54
  • If Apple does something does not mean that you can do it. The MKMapKit does not have any method for rotation. So you are out of luck. – rckoenes Mar 22 '13 at 10:46
2

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

Himanshu padia
  • 7,428
  • 1
  • 47
  • 45
0

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)

usrgnxc
  • 794
  • 2
  • 9
  • 34