PHAuthorizationStatus 枚举

定义

枚举应用程序用户允许的当前授权。

[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 = 
继承
PHAuthorizationStatus
属性

字段

Authorized 3

用户已授予访问权限。

Denied 2

用户已拒绝访问。

NotDetermined 0

用户未与权限对话框交互。

Restricted 1

拒绝访问,并且用户无法更改权限。

适用于