Slide 36
Slide 36 text
In a declarative way
Setup AVCaptureSession
Represents input, output, and preview as View in the app
structure and accumulate a configuration from it.
Create AVCaptureInput, AVCaptureOutput, and
AVCaptureVideoPreviewLayer from the configuration.
Configure AVCaptureSession with these objects.