Fixing issue with image orientation on front facing camera

This commit is contained in:
Andrew Walz 2017-01-04 15:36:49 -07:00
parent 3a5934a9e9
commit dbcf73e18f
2 changed files with 2 additions and 2 deletions

View file

@ -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)
}

View file

@ -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'