Returns an array of the available capture devices on the system.
Deprecated
Use the AVCapture
class instead.
SDKs
- iOS 4.0–10.0Deprecated
- macOS 10.7–10.15Deprecated
- Mac Catalyst 13.0–13.0Deprecated
Framework
- AVFoundation
Declaration
class func devices() -> [AVCapture Device]
Return Value
An array containing the available capture devices on the system