ScannerApp-Swift Documentation

Class Camera​View​Controller

class CameraViewController: UIViewController, CameraViewControllerPopUpViewDelegate  

Manage the camera preview when using the App

%101 CameraViewController CameraViewController UIViewController UIViewController CameraViewController->UIViewController CameraViewControllerPopUpViewDelegate CameraViewControllerPopUpViewDelegate CameraViewController->CameraViewControllerPopUpViewDelegate

Conforms To

UIViewController

Initializers

init?(coder:​)

required init?(coder: NSCoder)  

Methods

view​Did​Load()

override func viewDidLoad()  

Set up the camera preview activity

view​Will​Appear(_:​)

override func viewWillAppear(_ animated: Bool)  

Make sure the screen do not dim

record​Button​Tapped()

@objc func recordButtonTapped()  

perform actions when user press the record button

start​Recording()

func startRecording()  

dismiss​Pop​UpView()

func dismissPopUpView()  

stop​Recording()

func stopRecording()