- Home /
Question by
mpete · Apr 30, 2012 at 11:57 AM ·
iosaccelerometerdeviceorientation
How to get iOS accelerometer axis right when changing device orientation?
I'm making an Unity iPad application with support for Landscape Right and Landscape Left and Auto Rotation. How can I detect Landscape Left or Landscape right, to use the accelerometer input right? DeviceOrientation has too many options, I need to detect if the current iPad system rotation is Landscape Right or Landscape Right, not interupted by all the other values of the DeviceOrientation class.
Comment
Your answer
Follow this Question
Related Questions
accelometer problem 0 Answers
Accelerometer axis differences on Android and iOS? 1 Answer
Keep unity running when minimized on iOS and Android 2 Answers
How do I access CoreMotion and the Android equivalent? 0 Answers
Is there a way to disable the rotating black border when rotating the iphone? 2 Answers