Skip to content

Commit 727b6a5

Browse files
committed
Added @available
1 parent 8a2b9ab commit 727b6a5

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Sources/CodeScanner/ScannerViewController.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -488,6 +488,8 @@ extension CodeScannerView {
488488

489489
}
490490
}
491+
492+
@available(macCatalyst 14.0, *)
491493
extension CodeScannerView.ScannerViewController: AVCapturePhotoCaptureDelegate {
492494
public func photoOutput(_ output: AVCapturePhotoOutput, didFinishProcessingPhoto photo: AVCapturePhoto, error: Error?) {
493495
isCapturing = false

0 commit comments

Comments
 (0)