<!--
{
  "availability" : [
    "macOS: 10.4.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "SecurityInterface",
  "identifier" : "/documentation/SecurityInterface/SFCertificatePanel/setShowsHelp(_:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "Security Interface"
    ],
    "preciseIdentifier" : "c:objc(cs)SFCertificatePanel(im)setShowsHelp:"
  },
  "title" : "setShowsHelp(_:)"
}
-->

# setShowsHelp(_:)

Displays a Help button in the sheet or panel.

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

When a user clicks the help button, the certificate panel first checks the delegate for a <doc://com.apple.documentation/documentation/ObjectiveC/NSObject-swift.class/certificatePanelShowHelp(_:)> method. If the delegate does not implement such a method, or the delegate method returns <doc://com.apple.documentation/documentation/Swift/false>, then the <doc://com.apple.documentation/documentation/AppKit/NSHelpManager> method <doc://com.apple.documentation/documentation/AppKit/NSHelpManager/openHelpAnchor(_:inBook:)> is called with a `nil` book and the anchor specified by the [`setHelpAnchor(_:)`](/documentation/SecurityInterface/SFCertificatePanel/setHelpAnchor(_:)) method. An exception is raised if the delegate returns <doc://com.apple.documentation/documentation/Swift/false> and there is no help anchor set.

## See Also

  <doc://com.apple.documentation/documentation/AppKit/NSHelpManager/openHelpAnchor(_:inBook:)>

[`func showsHelp() -> Bool`](/documentation/SecurityInterface/SFCertificatePanel/showsHelp())

Indicates whether the help button is currently set to be displayed.

  <doc://com.apple.documentation/documentation/ObjectiveC/NSObject-swift.class/certificatePanelShowHelp(_:)>



---

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)