Camera2ViewController
public final class Camera2ViewController : UIViewController, CameraScreen
Undocumented
-
Undocumented
Declaration
Swift
public weak var delegate: CameraViewControllerDelegate?
-
Designated initializer for the
CameraViewController
which allows to set theGiniConfiguration for the camera screen
. All the interactions with this screen are handled byCameraViewControllerDelegate
.Declaration
Swift
public init( giniConfiguration: GiniConfiguration, viewModel: CameraButtonsViewModel )
Parameters
giniConfiguration
GiniConfiguration
instance.Return Value
A view controller instance allowing the user to take a picture or pick a document.
-
Undocumented
Declaration
Swift
public override func viewDidLoad()
-
Undocumented
Declaration
Swift
public override var preferredStatusBarStyle: UIStatusBarStyle { get }
-
Undocumented
Declaration
Swift
public override func viewWillAppear(_ animated: Bool)
-
Undocumented
Declaration
Swift
public override func viewDidAppear(_ animated: Bool)
-
Undocumented
Declaration
Swift
public override func viewWillDisappear(_ animated: Bool)
-
Undocumented
Declaration
Swift
override public func viewWillTransition(to size: CGSize, with coordinator: UIViewControllerTransitionCoordinator)
-
Replaces the captured images stack content with new images.
Declaration
Swift
public func replaceCapturedStackImages(with images: [UIImage])
Parameters
images
New images to be shown in the stack. (Last image will be shown on top)
-
Undocumented
Declaration
Swift
public func addValidationLoadingView() -> UIView
-
Show the capture button. Should be called when onboarding is dismissed.
Declaration
Swift
public func showCaptureButton()
-
Hide the capture button. Should be called when onboarding is presented.
Declaration
Swift
public func hideCaptureButton()
-
Undocumented
Declaration
Swift
public func setupCamera()