---
title: "alertShowHelp(_:)"
framework: appkit
role: symbol
role_heading: Instance Method
path: "appkit/nsalertdelegate/alertshowhelp(_:)"
---

# alertShowHelp(_:)

Sent to the delegate when the user clicks the alert’s help button. The delegate causes help to be displayed for an alert, directly or indirectly.

## Declaration

```swift
@MainActor optional func alertShowHelp(_ alert: NSAlert) -> Bool
```

## Return Value

Return Value true when the delegate displayed help directly, false otherwise. When false and the alert has a help anchor (helpAnchor), the application’s help manager displays help using the help anchor.

## Discussion

Discussion The delegate implements this method only to override the help-anchor lookup behavior.

## See Also

### Related Documentation

- [showsHelp](appkit/nsalert/showshelp.md)
- [Dialogs and Special Panels](apple-archive/documentation/Cocoa/Conceptual/Dialog.md)
