Returns a constant indicating whether the app has permission for recording a specified media type.
- iOS 7.0+
- macOS 10.14+
- Mac Catalyst 13.0+Beta
A constant indicating authorization status.
Recording audio or video always requires explicit permission from the user. The first time you create any
AVCapture objects for a media type that requires permission, the system automatically displays an alert to request recording permission.
After the user grants recording permission, the system remembers the choice for future use in the same app, but the user can change this choice at any time using the Settings app. If the user has denied your app recoding permission or has not yet responded to the permission prompt, any audio recordings will contain only silence and any video recordings will contain only black frames.