diff --git a/Sources/CodeScanner/AVCaptureDevice+bestForBuiltInCamera.swift b/Sources/CodeScanner/AVCaptureDevice+bestForBuiltInCamera.swift index 0a088c3..0328195 100644 --- a/Sources/CodeScanner/AVCaptureDevice+bestForBuiltInCamera.swift +++ b/Sources/CodeScanner/AVCaptureDevice+bestForBuiltInCamera.swift @@ -13,7 +13,7 @@ import AVFoundation extension AVCaptureDevice { /// Returns best built in back camera for scanning QR codes zoomed for a given minimum code size. - static func zoomedCameraForQRCode(withMinimumCodeSize minimumCodeSize: Float = 20) -> AVCaptureDevice? { + public static func zoomedCameraForQRCode(withMinimumCodeSize minimumCodeSize: Float = 20) -> AVCaptureDevice? { let captureDevice = AVCaptureDevice.DiscoverySession( deviceTypes: [.builtInWideAngleCamera], mediaType: .video,