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.
1 parent 944a6a1 commit 1e82159Copy full SHA for 1e82159
Sources/CodeScanner/AVCaptureDevice+bestForBuiltInCamera.swift
@@ -9,10 +9,10 @@
9
import AVFoundation
10
11
@available(macCatalyst 14.0, *)
12
-extension AVCaptureDevice {
+public extension AVCaptureDevice {
13
14
/// Returns best built in back camera for scanning QR codes zoomed for a given minimum code size.
15
- static func zoomedCameraForQRCode(withMinimumCodeSize minimumCodeSize: Float = 20) -> AVCaptureDevice? {
+ public static func zoomedCameraForQRCode(withMinimumCodeSize minimumCodeSize: Float = 20) -> AVCaptureDevice? {
16
let captureDevice = AVCaptureDevice.DiscoverySession(
17
deviceTypes: [.builtInWideAngleCamera],
18
mediaType: .video,
0 commit comments