Checks the status of the specified permission asynchronously.
- iOS 8.0+
- macOS 10.10+
- Mac Catalyst 13.0+
- tvOS 9.0+
- watchOS 3.0+
The permission whose status you want to check. For a list of possible values, see
The block to execute with the results. Your block must be capable of executing on any thread of the app.
Use this method to determine the extra capabilities granted to your app by the user. If your app has not yet requested a specific permission, calling this method may yield the value
CKApplication for the permission. When that value is returned, call the
request method to request the permission from the user.