How does the accelerometer enable a smartphone to automatically rotate the screen according to the user’s orientation?

The accelerometer’s motion-sensing capabilities determine how the phone is being held and rotate the screen accordingly.

Related Questions