addInput(_:)
Adds a capture input to the session.
Declaration
func addInput(_ input: AVCaptureInput)Parameters
- input:
An input to add to the session.
Discussion
It’s only valid to call this method if canAddInput(_:) returns true.
You can invoke this method while the session is running.