Returns a Boolean value that indicates whether a given input can be added to the session.
SDKs
- iOS 4.0+
- macOS 10.7+
- Mac Catalyst 13.0+
Framework
- AVFoundation
Declaration
- (BOOL)canAddInput:(AVCapture Input *)input;
Parameters
input
An input that you want to add to the session.
Return Value
YES
if input
can be added to the session, otherwise NO
.