Position
extension AVCaptureDevice.Position
-
Checks if a camera device is available for a position.
Declaration
Swift
public var isCameraDevicePositionAvailable: Bool { get }
Parameters
devicePosition
Camera device position to query.
Return Value
true
if the camera device exists, otherwise false.