How to disable map rotation on runtime 100.1

Discussion created by zhousc on Nov 30, 2017
Latest reply on Nov 30, 2017 by zhousc

Hi guys,


I am working on a map App using runtime 100.1 for iOS recently, and I am looking for a way to disable map rotation for two finger twist gesture. Because the map views always be rotated a little bit when i use pinch-in and pinch-out gestures for map zooming, and it's really disturbing.


As the api guide indicated, If you want to allow the two finger twist gesture to rotate the map the enable the allowInteractiveRotation property on AGSMapView. So it seems there is a property can do it, but i can not find that property in AGSMapView class.


Are there any suggestions? I really appreciate your help.