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

# setHelpAnchor(_:)

Sets the help anchor string for the sheet or modal panel.

```
func setHelpAnchor(_ anchor: String!)
```

## Parameters

`anchor`

The new help anchor string.

## Discussion

You may call this function to set a help anchor string if you display a help button in the sheet or modal panel and do not implement the delegate method <doc://com.apple.documentation/documentation/ObjectiveC/NSObject-swift.class/certificatePanelShowHelp(_:)>, or if the delegate method returns <doc://com.apple.documentation/documentation/Swift/false>. If you display a help button, do not set a help anchor string, and do not implement a delegate, the certificate panel displays a default help page (“What is a digital identity?”).

## See Also

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

[`func setShowsHelp(Bool)`](/documentation/SecurityInterface/SFChooseIdentityPanel/setShowsHelp(_:))

Displays a Help button in the sheet or panel.

[`func helpAnchor() -> String!`](/documentation/SecurityInterface/SFChooseIdentityPanel/helpAnchor())

Returns the current help anchor string for the sheet or panel.



---

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)