Contents

canAddConnection(_:)

Determines whether a you can add a connection to a capture session.

Declaration

func canAddConnection(_ connection: AVCaptureConnection) -> Bool

Parameters

  • connection:

    A connect object to test.

Return Value

true if you can add the connection; otherwise, false.

See Also

Connecting inputs and outputs