One Logo Pool Ball
ManagedSettings · IOS API REFERENCE

PasscodeSettings

struct · iOS 15.0+ · SDK 27.1

struct PasscodeSettings

Constraints on a user's ability to change their device's passcode.

Members (3)

get · iOS 15.0+

lockPasscode

TypeScript
static get lockPasscode(): SettingMetadata<boolean>
Swift declaration
static let lockPasscode: SettingMetadata<Bool>

The metadata for the setting that prevents the user from changing their passcode. Use `lockPasscode` to access metadata for ``lockPasscode-swift.property``. The default value is `false`.

get · iOS 15.0+

lockPasscode

TypeScript
get lockPasscode90707(): (boolean) | null
Swift declaration
var lockPasscode: Bool? { get set }

A Boolean value that indicates whether to prevent changing the device passcode. If your app doesn't configure this setting, the value is `nil`.

set · iOS 15.0+

lockPasscode

TypeScript
set lockPasscode90707(value: (boolean) | null)
Swift declaration
var lockPasscode: Bool? { get set }

A Boolean value that indicates whether to prevent changing the device passcode. If your app doesn't configure this setting, the value is `nil`.

Skipped declarations

No declarations were skipped in this snapshot.

All ManagedSettings types →