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

# setPoliciesDisclosed(_:)

Specifies whether the trust policy settings subview is disclosed.

## Declaration

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

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.

## See Also

### Customizing the Appearance and Behavior of the View

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