A block for processing permission requests.
- iOS 8.0+
- macOS 10.10+
- Mac Catalyst 13.0+
- tvOS 9.0+
- watchOS 3.0+
When requesting or getting the status of a permission, use this block to process the results of that request. This block has no return value and takes the following parameters:
The status of the permission. For a list of possible values, see
An error object if a problem occurs, or
nilif the status is determined successfully.