Instance Property

connections

An array of connections managed by the capture session.

Declaration

@property(nonatomic, readonly) NSArray<AVCaptureConnection *> *connections;

Discussion

The capture session implicitly forms connections when you call addInput: or addOutput:. You can explicitly add connections to a session by calling the addConnection: method.

See Also

Managing Connections

- addConnection:

Adds a given capture connection to the session.

- canAddConnection:

Returns a Boolean value that indicates whether a given connection can be added to the receiver.

- addInputWithNoConnections:

Adds a capture input to the session without forming any connections.

- addOutputWithNoConnections:

Adds a capture output to the session without forming any connections.

- removeConnection:

Removes a capture connection from the session.