设备位置-AVCaptureDevice (AVCaptureD

2017-12-08  本文已影响17人  lltree

设备位置

该值为枚举值

@property(nonatomic, readonly) AVCaptureDevicePosition position;
typedef NS_ENUM(NSInteger, AVCaptureDevicePosition) {
    AVCaptureDevicePositionUnspecified = 0,
    AVCaptureDevicePositionBack        = 1,
    AVCaptureDevicePositionFront       = 2,
} NS_AVAILABLE(10_7, 4_0) __TVOS_PROHIBITED;

上一篇 下一篇

猜你喜欢

热点阅读