Toggle navigation
Toggle navigation
This project
Loading...
Sign in
flutter_package
/
mobile_scanner
Go to a project
Toggle navigation
Projects
Groups
Snippets
Help
Toggle navigation pinning
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
Enguerrand_ARMINJON_MAC_2
2023-10-19 12:23:27 +0200
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
cb7313bd552383e54b7cccf8b738f8bb5967a2d6
cb7313bd
1 parent
76bc6cc8
fix: iOS Orientation change from .left to .up
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
ios/Classes/MobileScannerUtilities.swift
ios/Classes/MobileScannerUtilities.swift
View file @
cb7313b
...
...
@@ -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
!
)
}
var
image1
:
UIImage
{
...
...
Please
register
or
login
to post a comment