Contents

guidedAccessRestrictionState(forIdentifier:)

Returns the restriction state for the specified guided access restriction.

Declaration

@MainActor static func guidedAccessRestrictionState(forIdentifier restrictionIdentifier: String) -> UIAccessibility.GuidedAccessRestrictionState

Parameters

  • 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.

See Also

Guided Access