guidedAccessRestrictionState(forIdentifier:)
Returns the restriction state for the specified guided access restriction.
Declaration
@MainActor static func guidedAccessRestrictionState(forIdentifier restrictionIdentifier: String) -> UIAccessibility.GuidedAccessRestrictionStateParameters
- restrictionIdentifier:
The string that uniquely identifies the guided access restriction.
Return Value
The current state of the guided access restriction. The initial state of all restrictions is UIAccessibility.GuidedAccessRestrictionState.allow.