Data Source Orientations

These values indicate the directions in which a data source can point, relative to the device’s natural orientation.

Topics

Orientations

AVAudioSessionOrientationTop

A data source that points upward.

AVAudioSessionOrientationBottom

A data source that points downward.

AVAudioSessionOrientationFront

A data source that points outward from the front of the device, toward the user.

AVAudioSessionOrientationBack

A data source that points outward from the back of the device, away from the user.

AVAudioSessionOrientationLeft

A data source that points outward to the left of the device, away from the user.

AVAudioSessionOrientationRight

A data source that points outward to the right of the device, away from the user.

See Also

Retrieving the Data Source Orientation

orientation

The orientation of the data source relative to the device’s natural orientation.

AVAudioSessionOrientation

Constants that describe the orientation or directionality of the data source on an iOS device.