From c1e2ff055e2518c24bf495471d5578d1783bb569 Mon Sep 17 00:00:00 2001 From: cyberta Date: Mon, 2 Dec 2019 14:28:33 +0100 Subject: [PATCH] restart camera if photo confirmation was canceled --- ALCameraViewController/ViewController/CameraViewController.swift | 1 + 1 file changed, 1 insertion(+) diff --git a/ALCameraViewController/ViewController/CameraViewController.swift b/ALCameraViewController/ViewController/CameraViewController.swift index de1c909b..d26cada9 100644 --- a/ALCameraViewController/ViewController/CameraViewController.swift +++ b/ALCameraViewController/ViewController/CameraViewController.swift @@ -579,6 +579,7 @@ open class CameraViewController: UIViewController { } guard let image = image else { + self?.cameraView.startSession() return }