編輯

共用方式為


CKAccountStatus Enum

Definition

Enumerates values that indicate whether a user's iCloud account is available.

[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.WatchOS, 3, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 8, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 10, ObjCRuntime.PlatformArchitecture.All, null)]
public enum CKAccountStatus
type CKAccountStatus = 
Inheritance
CKAccountStatus
Attributes

Fields

Name Value Description
CouldNotDetermine 0

An error occured when the application tried to determine if the user's account is available.

Available 1

The user's account is available.

Restricted 2

The user has an account, but a parental control or mobile restriction prevents its use.

NoAccount 3

The user has no iCloud account.

Applies to