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

# setPoliciesDisclosed(_:)

Specifies whether the trust policy settings subview is disclosed.

```
func setPoliciesDisclosed(_ disclosed: Bool)
```

## Parameters

`disclosed`

Pass <doc://com.apple.documentation/documentation/Swift/true> to display the certificate details, or <doc://com.apple.documentation/documentation/Swift/false> to hide them.

## Discussion

The trust policy settings can be shown or hidden depending on whether the user clicks the disclosure triangle. This method sets the state of that disclosure triangle and the visibility of the corresponding view.

---

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)