<!--
{
  "availability" : [
    "iOS: 7.0.0 -",
    "iPadOS: 7.0.0 -",
    "macCatalyst: 13.1.0 -",
    "tvOS: -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "UIKit",
  "identifier" : "/documentation/UIKit/UIGuidedAccessRestrictionDelegate/textForGuidedAccessRestriction(withIdentifier:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "UIKit"
    ],
    "preciseIdentifier" : "c:objc(pl)UIGuidedAccessRestrictionDelegate(im)textForGuidedAccessRestrictionWithIdentifier:"
  },
  "title" : "textForGuidedAccessRestriction(withIdentifier:)"
}
-->

# textForGuidedAccessRestriction(withIdentifier:)

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

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

## Discussion

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)