How to get gravity direction?

There’s a gyroscope sensor in the camera. Are you taking a still image?

To get the sensor data in still image, you must set _topBottomCorrection to Disapply.

image