---
title: "setDetailsDisclosed(_:)"
framework: securityinterface
role: symbol
role_heading: Instance Method
path: "securityinterface/sfcertificateview/setdetailsdisclosed(_:)"
---

# setDetailsDisclosed(_:)

Sets whether the certificate details subview is disclosed.

## Declaration

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

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.

## See Also

### Customizing the Appearance and Behavior of the View

- [setDisplayDetails(_:)](securityinterface/sfcertificateview/setdisplaydetails(_:).md)
- [setDisplayTrust(_:)](securityinterface/sfcertificateview/setdisplaytrust(_:).md)
- [setEditableTrust(_:)](securityinterface/sfcertificateview/seteditabletrust(_:).md)
- [setPolicies(_:)](securityinterface/sfcertificateview/setpolicies(_:).md)
- [setPoliciesDisclosed(_:)](securityinterface/sfcertificateview/setpoliciesdisclosed(_:).md)
