From 48ffe69d30a9a83c2fa68bab968f087d4dd048d3 Mon Sep 17 00:00:00 2001 From: Matthias Brendel Date: Tue, 26 Apr 2022 14:14:32 +0200 Subject: [PATCH] fix(ios): fix camera preview on iOS 15.4 --- src/ios/QRScanner.swift | 1 + 1 file changed, 1 insertion(+) diff --git a/src/ios/QRScanner.swift b/src/ios/QRScanner.swift index a483684e..bbe25620 100644 --- a/src/ios/QRScanner.swift +++ b/src/ios/QRScanner.swift @@ -330,6 +330,7 @@ class QRScanner : CDVPlugin, AVCaptureMetadataOutputObjectsDelegate { @objc func show(_ command: CDVInvokedUrlCommand) { self.webView?.isOpaque = false self.webView?.backgroundColor = UIColor.clear + self.webView?.scrollView.backgroundColor = UIColor.clear self.getStatus(command) }