PHAuthorizationStatus Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Enumerates the current authorization allowed by the application user.
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 8, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.TvOS, 10, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 13, ObjCRuntime.PlatformArchitecture.Arch64, null)]
public enum PHAuthorizationStatus
type PHAuthorizationStatus =
- Inheritance
-
PHAuthorizationStatus
- Attributes
Fields
Name | Value | Description |
---|---|---|
NotDetermined | 0 | The user has not interacted with the permissions dialog. |
Restricted | 1 | Access is denied and the user cannot change permission. |
Denied | 2 | The user has denied access. |
Authorized | 3 | The user has granted access. |