We have a sample in the SDK which from the sounds of it does what you are asking for. Have a look at it here.
In our application, we have implemented a compass that rotates if the user rotates the map using the gesture. I have uploaded a sample project based on the esri compass sample. See below linkhttps://github.com/tmsbn/Esri-compass-sample.git
Signed in members can post, follow updates, and more. New here? Register a free account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.