Skip to content
This repository has been archived by the owner on Jul 1, 2022. It is now read-only.

- Update For IOS 13 , #311

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions ALCameraViewController.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@
};
FAF0583E1B31618D008E5592 = {
CreatedOnToolsVersion = 6.3.2;
DevelopmentTeam = 9E43V6CC9L;
DevelopmentTeam = 4873L9W884;
LastSwiftMigration = 1110;
ProvisioningStyle = Automatic;
};
Expand Down Expand Up @@ -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";
Expand All @@ -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";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}

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

Expand Down