addOutput(_:)
Adds an output to the capture session.
Declaration
func addOutput(_ output: AVCaptureOutput)Parameters
- output:
An output to add to the session.
Discussion
You can only add an output to a session using this method if canAddOutput(_:) returns true.
You can invoke this method while the session is running.