<!--
{
  "availability" : [
    "iOS: 17.5.0 - 27.2.0",
    "iPadOS: 17.5.0 - 27.2.0",
    "macCatalyst: 17.5.0 - 27.2.0",
    "visionOS: 1.2.0 - 27.2.0"
  ],
  "documentType" : "symbol",
  "framework" : "SafariServices",
  "identifier" : "/documentation/SafariServices/SFAddToHomeScreenActivityItem/getWebAppManifest(completionHandler:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "Safari Services"
    ],
    "preciseIdentifier" : "c:objc(pl)SFAddToHomeScreenActivityItem(im)getWebAppManifestWithCompletionHandler:"
  },
  "title" : "getWebAppManifest(completionHandler:)"
}
-->

# getWebAppManifest(completionHandler:)

Provides the web app’s manifest to the system, if the bookmark represents a web app.

```
optional func getWebAppManifest(completionHandler: @escaping @Sendable (BEWebAppManifest?) -> Void)
```

```
optional func webAppManifest() async -> BEWebAppManifest?
```

## Parameters

`completionHandler`

A closure that you call to supply the web app manifest to the system.

## Discussion

The system only calls this method in browser apps that include an alternative browser engine.

---

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)