The capture connection describing the
AVCapture to which the preview layer is connected.
- iOS 6.0+
- macOS 10.7+
- Mac Catalyst 13.0+
When you associate a preview layer with a capture session, the capture session implicitly forms a connection to the first eligible video
AVCapture object. If you detach a preview layer from a session, the connection property becomes