<!--
{
  "availability" : [
    "iOS: 18.4.0 -",
    "iPadOS: 18.4.0 -",
    "macOS: 15.4.0 -",
    "tvOS: 18.4.0 -",
    "visionOS: 2.4.0 -",
    "watchOS: 11.4.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "SwiftUI",
  "identifier" : "/documentation/SwiftUI/View/certificateSheet(trust:title:message:help:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "SwiftUI"
    ],
    "preciseIdentifier" : "s:7SwiftUI4ViewP08SecurityB0E16certificateSheet5trust5title7message4helpQrAA7BindingVySo11SecTrustRefaSgG_SSSgAP10Foundation3URLVSgtF"
  },
  "title" : "certificateSheet(trust:title:message:help:)"
}
-->

# certificateSheet(trust:title:message:help:)

Displays a certificate sheet using the provided certificate trust.

```
@MainActor @preconcurrency func certificateSheet(trust: Binding<SecTrust?>, title: String? = nil, message: String? = nil, help: URL? = nil) -> some View
```

## Parameters

`trust`

A binding to a SecTrust reference created with
SecTrustCreateWithCertificates (see <Security/SecTrust.h>)
that determines whether to present the certificate sheet.

`title`

The title to display. Uses a default title if nil.

`message`

The message to display. Uses a default message if nil.

`help`

URL for the “Learn More” button. Uses a default URL if nil.

---

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)