Steven

Results 1 comments of Steven

private func autoFocusModel() { guard let device = AVCaptureDevice.default(for: .video) else { return } guard device.hasTorch else { return } do { try device.lockForConfiguration(); if(device.isFocusPointOfInterestSupported && device.isFocusModeSupported(.continuousAutoFocus)) { device.focusPointOfInterest =...