Instance Method

textForGuidedAccessRestriction(withIdentifier:)

Returns a succinct description of the restriction for the provided identifier.

Required.

Declaration

func textForGuidedAccessRestriction(withIdentifier restrictionIdentifier: String) -> String?

Parameters

restrictionIdentifier

The identifer of the restriction the system is interested in.

Return Value

A localized, human-readable string that succinctly describes the restriction for the provided identifier.

See Also

Identifying Custom Guided Access Restrictions

var guidedAccessRestrictionIdentifiers: [String]?

Returns an array of strings identifying custom restrictions.

Required.

func detailTextForGuidedAccessRestriction(withIdentifier: String) -> String?

Returns more detailed information about the restriction for the provided identifier.