session
The view’s associated capture session.
Declaration
var session: AVCaptureSession? { get }Discussion
This property’s default value is a capture session configured for movie file recordings of audio and video data. Use the setSession(_:showVideoPreview:showAudioPreview:) method to provide a custom capture session. Modifying the capture session changes its visual representation in the view.