Returns a Boolean value indicating whether the key in the specified domain is managed by an administrator.
- iOS 2.0+
- macOS 10.2+
- Mac Catalyst 13.0+
- tvOS 9.0+
- watchOS 2.0+
The key whose status you want to check.
The domain of the key.
YES if the key is managed by an administrator in the specified domain, otherwise
This method assumes that the key is a preference associated with the current user. For managed keys, the application should disable any user interface that allows the user to modify the value of