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

# setDetailsDisclosed(_:)

Sets whether the certificate details subview is disclosed.

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

## Parameters

`disclosed`

Pass <doc://com.apple.documentation/documentation/Swift/true> to open the disclosure triangle and disclose the view, or <doc://com.apple.documentation/documentation/Swift/false> to close it and hide the view.

## Discussion

The certificate details 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)