The previewed capture session.
SDKs
- iOS 4.0+
- macOS 10.7+
- Mac Catalyst 13.0+
Framework
- AVFoundation
Declaration
var session: AVCapture Session? { get set }
The previewed capture session.
SDKs
Framework
var session: AVCapture Session? { get set }
var connection: AVCapture Connection?
The capture connection describing the AVCapture
to which the preview layer is connected.
func set Session With No Connection(AVCapture Session)
Attaches the layer to a given session without implicitly forming a connection.