Enumeration Case

CKAccountStatus.restricted

The user’s iCloud account is not available. Access was denied due to Parental Controls or Mobile Device Management restrictions.

Declaration

case restricted = 2