diff --git a/ALCameraViewController.xcodeproj/project.pbxproj b/ALCameraViewController.xcodeproj/project.pbxproj index 05e68f65..2c35c6ea 100644 --- a/ALCameraViewController.xcodeproj/project.pbxproj +++ b/ALCameraViewController.xcodeproj/project.pbxproj @@ -283,7 +283,7 @@ }; FAF0583E1B31618D008E5592 = { CreatedOnToolsVersion = 6.3.2; - DevelopmentTeam = 9E43V6CC9L; + DevelopmentTeam = 4873L9W884; LastSwiftMigration = 1110; ProvisioningStyle = Automatic; }; @@ -556,7 +556,7 @@ ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; CURRENT_PROJECT_VERSION = 5; - DEVELOPMENT_TEAM = 9E43V6CC9L; + DEVELOPMENT_TEAM = 4873L9W884; INFOPLIST_FILE = "Example/Supporting Files/Info.plist"; IPHONEOS_DEPLOYMENT_TARGET = 9.0; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; @@ -574,7 +574,7 @@ ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; CURRENT_PROJECT_VERSION = 5; - DEVELOPMENT_TEAM = 9E43V6CC9L; + DEVELOPMENT_TEAM = 4873L9W884; INFOPLIST_FILE = "Example/Supporting Files/Info.plist"; IPHONEOS_DEPLOYMENT_TARGET = 9.0; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; diff --git a/ALCameraViewController/ViewController/CameraViewController.swift b/ALCameraViewController/ViewController/CameraViewController.swift index de1c909b..d38d2293 100644 --- a/ALCameraViewController/ViewController/CameraViewController.swift +++ b/ALCameraViewController/ViewController/CameraViewController.swift @@ -575,6 +575,7 @@ open class CameraViewController: UIViewController { let confirmViewController = ConfirmViewController(image: uiImage, croppingParameters: croppingParameters) confirmViewController.onComplete = { [weak self] image, asset in defer { + self?.cameraView.startSession() self?.dismiss(animated: true, completion: nil) } @@ -593,6 +594,7 @@ open class CameraViewController: UIViewController { let confirmViewController = ConfirmViewController(asset: asset, croppingParameters: croppingParameters) confirmViewController.onComplete = { [weak self] image, asset in defer { + self?.cameraView.startSession() self?.dismiss(animated: true, completion: nil) }