Use AVFoundation to access the camera and show a live preview on the screen.
This is a companion discussion topic for the original entry at https://www.kodeco.com/21460315-video-with-avfoundation/lessons/6
Use AVFoundation to access the camera and show a live preview on the screen.
Hello Douglas,
Very well explained tutorial.
Iβve noticed that you donβt check the permission before configuring the capture session.
AVCaptureDevice.authorizationStatus(for: .video)
Is it on purpose ? If yes, in which case should ask for the user permission?
Thanks