Instance Method

canAddConnection:

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

Declaration

- (BOOL)canAddConnection:(AVCaptureConnection *)connection;

Parameters

connection

An AVCaptureConnection instance.

Return Value

YES if connection can be added to the receiver, otherwise NO.

See Also

Managing Connections

connections

An array of connections managed by the capture session.

- addConnection:

Adds a given capture connection to the session.

- 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.