---
title: "setShowsHelp(_:)"
framework: securityinterface
role: symbol
role_heading: Instance Method
path: "securityinterface/sfcertificatepanel/setshowshelp(_:)"
---

# setShowsHelp(_:)

Displays a Help button in the sheet or panel.

## Declaration

```swift
func setShowsHelp(_ showsHelp: Bool)
```

## Parameters

- `showsHelp`: Set to doc://com.apple.documentation/documentation/Swift/true to display the help button. The help button is hidden by default.

## Discussion

Discussion When a user clicks the help button, the certificate panel first checks the delegate for a certificatePanelShowHelp(_:) method. If the delegate does not implement such a method, or the delegate method returns false, then the NSHelpManager method openHelpAnchor(_:inBook:) is called with a nil book and the anchor specified by the setHelpAnchor(_:) method. An exception is raised if the delegate returns false and there is no help anchor set.

## See Also

### Related Documentation

- [openHelpAnchor(_:inBook:)](appkit/nshelpmanager/openhelpanchor(_:inbook:).md)
- [showsHelp()](securityinterface/sfcertificatepanel/showshelp().md)
- [certificatePanelShowHelp(_:)](objectivec/nsobject-swift.class/certificatepanelshowhelp(_:).md)

### Providing Help

- [setHelpAnchor(_:)](securityinterface/sfcertificatepanel/sethelpanchor(_:).md)
- [helpAnchor()](securityinterface/sfcertificatepanel/helpanchor().md)
- [showsHelp()](securityinterface/sfcertificatepanel/showshelp().md)
