We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 23e9b6e + 008bc06 commit 34da57fCopy full SHA for 34da57f
Sources/CodeScanner/AVCaptureDevice+bestForBuiltInCamera.swift
@@ -13,7 +13,7 @@ import AVFoundation
13
extension AVCaptureDevice {
14
15
/// Returns best built in back camera for scanning QR codes zoomed for a given minimum code size.
16
- static func zoomedCameraForQRCode(withMinimumCodeSize minimumCodeSize: Float = 20) -> AVCaptureDevice? {
+ public static func zoomedCameraForQRCode(withMinimumCodeSize minimumCodeSize: Float = 20) -> AVCaptureDevice? {
17
let captureDevice = AVCaptureDevice.DiscoverySession(
18
deviceTypes: [.builtInWideAngleCamera],
19
mediaType: .video,
0 commit comments