Skip to content

Commit

Permalink
fix: iOS Orientation change from .left to .up
Browse files Browse the repository at this point in the history
  • Loading branch information
EArminjon committed Oct 19, 2023
1 parent 76bc6cc commit 2bac5ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ios/Classes/MobileScannerUtilities.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 2bac5ff

Please sign in to comment.