---
title: helpAnchor
framework: foundation
role: symbol
role_heading: Instance Property
path: foundation/nserror/helpanchor
---

# helpAnchor

A string to display in response to an alert panel help anchor button being pressed.

## Declaration

```swift
var helpAnchor: String? { get }
```

## Discussion

Discussion The object in the user info dictionary for the key NSHelpAnchorErrorKey. If the user info dictionary doesn’t contain a value for NSHelpAnchorErrorKey, this property is nil. If this property is non-nil for an error being presented by init(error:), the alert panel will include a help anchor button that can display this string.
