Get Phone rotation

My App needs to get the Rotation of the phone. Therefore, I am using the orientation sensor. My problem is that I need to know if the phone is facing down or up. When my Phone is faces up, the sensor output is 90 and when it’s faced down as well. Therefore, I can’t differentiate between up and down. Do you have an idea how I can resolve that problem?

Hi @matthias,

this definitely will be helpful !

1 Like

Thank you @Mohamed_Tamer!

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.