mirror of
https://github.com/samsonjs/SwiftyCam.git
synced 2026-03-25 09:05:52 +00:00
Fixing issue with image orientation on front facing camera
This commit is contained in:
parent
3a5934a9e9
commit
dbcf73e18f
2 changed files with 2 additions and 2 deletions
|
|
@ -402,7 +402,7 @@ open class SwiftyCamViewController: UIViewController {
|
|||
|
||||
switch self.currentCamera {
|
||||
case .front:
|
||||
image = UIImage(cgImage: cgImageRef!, scale: 1.0, orientation: .rightMirrored)
|
||||
image = UIImage(cgImage: cgImageRef!, scale: 1.0, orientation: .leftMirrored)
|
||||
case .rear:
|
||||
image = UIImage(cgImage: cgImageRef!, scale: 1.0, orientation: .right)
|
||||
}
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@
|
|||
|
||||
Pod::Spec.new do |s|
|
||||
s.name = 'SwiftyCam'
|
||||
s.version = '1.1.3'
|
||||
s.version = '1.1.4'
|
||||
s.summary = 'A Simple, Snapchat-style camera Framework written in Swift'
|
||||
s.ios.deployment_target = '8.0'
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue