The user is not allowed to access media capture devices.
SDKs
- iOS 7.0+
- macOS 10.14+
- Mac Catalyst 13.0+
Framework
- AVFoundation
Declaration
case restricted = 1
Discussion
This status is normally not visible—the AVCapture
class methods for discovering devices do not return devices the user is restricted from accessing.