A famous one: if you need to rotate the device but don’t want your app to go in landscape mode (or viceversa), keep a finger on the screen while rotating to temporarily deactivate the sensor.
A famous one: if you need to rotate the device but don’t want your app to go in landscape mode (or viceversa), keep a finger on the screen while rotating to temporarily deactivate the sensor.