---
title: "textForGuidedAccessRestriction(withIdentifier:)"
framework: uikit
role: symbol
role_heading: Instance Method
path: "uikit/uiguidedaccessrestrictiondelegate/textforguidedaccessrestriction(withidentifier:)"
---

# textForGuidedAccessRestriction(withIdentifier:)

Provides a succinct description of the restriction for the specified identifier.

## Declaration

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

## Parameters

- `restrictionIdentifier`: The identifer of the restriction the system is interested in.

## Return Value

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

## See Also

### Identifying custom Guided Access restrictions

- [guidedAccessRestrictionIdentifiers](uikit/uiguidedaccessrestrictiondelegate/guidedaccessrestrictionidentifiers.md)
- [detailTextForGuidedAccessRestriction(withIdentifier:)](uikit/uiguidedaccessrestrictiondelegate/detailtextforguidedaccessrestriction(withidentifier:).md)
