Skip to content


AVCaptureDevicePosition enumeration contains constants that specify the position of a capture device.

class AVCaptureDevicePosition {
  static const int Front = 0;
  static const int Back = 1;
  static const int Unspecified = 2;
Constant Description
Front The capture device is on the front of the unit.
Back The capture device is on the back of the unit.
Unspecified The capture device’s position relative to the system hardware is unspecified.


For more information, please see the official Apple documentation.