Function

UIGuidedAccessRestrictionStateForIdentifier

Returns the restriction state for the specified guided access restriction.

Declaration

UIGuidedAccessRestrictionState UIGuidedAccessRestrictionStateForIdentifier(NSString *restrictionIdentifier);

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

See Also

Guided Access

UIGuidedAccessRestrictionDelegate

A set of methods you use to add custom restrictions for the Guided Access feature in iOS.