How to use Devicemotion/Gyroscope to move a dot from center to 8 directions of iphone screen
- by iSeeker
I am trying to move a dot at center to 8 directions of iphone screen using Devicemotion such that it moves faster when tilted at a faster rate. Rough sketch is below:
I could find a similar implementation in an app called Gyrododge in appstore, i cant figure out how to make it work...
Update:
This is what i have done so far, but the…