Instance Method

setSessionWithNoConnection:

Attaches the layer to a given session without implicitly forming a connection.

Declaration

- (void)setSessionWithNoConnection:(AVCaptureSession *)session;

Parameters

session

A capture session.

Discussion

This method attaches the layer to a given session without implicitly forming a connection to the first eligible video AVCaptureInputPort object. Only use this method if you intend to manually form a connection between a desired AVCaptureInputPort object and the output and associate it to the session using its addConnection: method.

See Also

Session Configuration

session

The previewed capture session.

connection

The capture connection describing the AVCaptureInputPort to which the preview layer is connected.