From ecce941c15099446fc1056b30412e4e491e98ec5 Mon Sep 17 00:00:00 2001 From: oudayb Date: Thu, 19 Dec 2019 10:57:17 +0100 Subject: [PATCH] - Update For IOS 13 , --- ALCameraViewController.xcodeproj/project.pbxproj | 6 +++--- .../ViewController/CameraViewController.swift | 2 ++ 2 files changed, 5 insertions(+), 3 deletions(-) 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) }