ConfirmViewController
public class ConfirmViewController: UIViewController, UIScrollViewDelegate
                For user to confirm whether to keep image after taking photo from camera, select image from photo library optional to crop photo here
- 
                  
                  
Undocumented
Declaration
Swift
public class ConfirmViewController: UIViewController, UIScrollViewDelegate - 
                  
                  
complete call back
Declaration
Swift
public var onComplete: CameraViewCompletion? - 
                  
                  
Constructor
- Parameters:
- asset: recent taken/selected photo asset
 - allowsCropping: enable/disable cropping
 
 
Declaration
Swift
public init(asset: PHAsset, allowsCropping: Bool)Parameters
assetrecent taken/selected photo asset
allowsCroppingenable/disable cropping
 - Parameters:
 - 
                  
                  
Undocumented
Declaration
Swift
public class ConfirmViewController: UIViewController, UIScrollViewDelegate 
- 
                  
                  
hide status bar
Declaration
Swift
public override var prefersStatusBarHidden: Bool - 
                  
                  
status bar animation
Declaration
Swift
public override var preferredStatusBarUpdateAnimation: UIStatusBarAnimation 
- 
                  
                  
viewDidLoad
Declaration
Swift
public override func viewDidLoad() - 
                  
                  
Undocumented
Declaration
Swift
public class ConfirmViewController: UIViewController, UIScrollViewDelegate - 
                  
                  
Rotation handling. Rearrange buttons, images and reset crop box after rotation
Declaration
Swift
public override func viewWillTransition(to size: CGSize, with coordinator: UIViewControllerTransitionCoordinator) 
- 
                  
                  
Configure buttons look and feel, background images, colors
Declaration
Swift
public func configureButtons() 
- 
                  
                  
Undocumented
Declaration
Swift
public class ConfirmViewController: UIViewController, UIScrollViewDelegate - 
                  
                  
Undocumented
Declaration
Swift
public class ConfirmViewController: UIViewController, UIScrollViewDelegate 
- 
                  
                  
Show error if cannot fetch image e.g. user denied access
Parameter
Parameter error: errorDeclaration
Swift
public func showNoImageScreen(_ error: NSError)Parameters
errorerror
 
View on GitHub
        ConfirmViewController Class Reference