Edit

Bagikan melalui


PHAuthorizationStatus Enum

Definition

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.

Applies to