From 2bac5ffab5289e8a93df4aaf466354603f881ef8 Mon Sep 17 00:00:00 2001 From: Enguerrand_ARMINJON_MAC_2 Date: Thu, 19 Oct 2023 12:23:27 +0200 Subject: [PATCH] fix: iOS Orientation change from .left to .up --- ios/Classes/MobileScannerUtilities.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ios/Classes/MobileScannerUtilities.swift b/ios/Classes/MobileScannerUtilities.swift index 70fca1cc4..8aa8d4334 100644 --- a/ios/Classes/MobileScannerUtilities.swift +++ b/ios/Classes/MobileScannerUtilities.swift @@ -21,7 +21,7 @@ extension CVBuffer { var image: UIImage { let ciImage = CIImage(cvPixelBuffer: self) let cgImage = CIContext().createCGImage(ciImage, from: ciImage.extent) - return UIImage(cgImage: cgImage!, scale: 1.0, orientation: UIImage.Orientation.left) + return UIImage(cgImage: cgImage!, scale: 1.0, orientation: UIImage.Orientation.up) } var image1: UIImage {