Contents

guidedAccessRestriction(withIdentifier:didChange:)

Tells the delegate that the restriction associated with the identifier has changed state.

Declaration

func guidedAccessRestriction(withIdentifier restrictionIdentifier: String, didChange newRestrictionState: UIAccessibility.GuidedAccessRestrictionState)

Parameters

  • restrictionIdentifier:

    The identifier of the restriction whose state has changed.

  • newRestrictionState:

    The new state for the restriction.

Discussion

Your app should adjust its behavior to allow or deny the operation controlled by the specified restriction each time it receives this message.

See Also

Implementing restrictions