The iPhone has a feature to respond to motion using a built-in accelerometer functionality. The accelerometer automatically detects movement and it will change the display as per the settings. for example, when we rotate iPhone from portrait to landscape it will change accordingly.