---
title: BEWebAppManifest
framework: browserenginekit
role: symbol
role_heading: Class
path: browserenginekit/bewebappmanifest
---

# BEWebAppManifest

An object that represents a web app manifest.

## Declaration

```swift
class BEWebAppManifest
```

## Overview

Overview To add a web app or bookmark to someone’s Home Screen: Create a SFAddToHomeScreenActivityItem that represents the web app or bookmark. A web app indicates its manifest using a <link/> element with the attribute rel=manifest; the href attribute is a URL that locates the manifest JSON. If the website offers a web app manifest, initialize a BEWebAppManifest with the contents of the web app’s manifest. Create a UIActivityViewController with the SFAddToHomeScreenActivityItem you created in step 1 in its list of activity items. Present the UIActivityViewController. When someone selects the Add to Home Screen activity, the system calls the activity item’s getWebAppManifest(completionHandler:) method. Pass the web app manifest you created in step 2 to the completion handler in your implementation, or nil if the website doesn’t offer a web app manifest or you can’t fetch the manifest.

## Topics

### Creating a web app manifest

- [init(JSONData:manifestURL:)](browserenginekit/bewebappmanifest/init(jsondata:manifesturl:)-4zjpz.md)
- [init(jsonData:manifestURL:)](browserenginekit/bewebappmanifest/init(jsondata:manifesturl:)-3azfg.md)

### Getting manifest information

- [jsonData](browserenginekit/bewebappmanifest/jsondata.md)
- [manifestURL](browserenginekit/bewebappmanifest/manifesturl.md)

## Relationships

### Inherits From

- [NSObject](objectivec/nsobject-swift.class.md)

### Conforms To

- [CVarArg](swift/cvararg.md)
- [CustomDebugStringConvertible](swift/customdebugstringconvertible.md)
- [CustomStringConvertible](swift/customstringconvertible.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [NSObjectProtocol](objectivec/nsobjectprotocol.md)

## See Also

### Web content

- [View and input coordination](browserenginekit/view-coordination.md)
- [Text interaction](browserenginekit/text-interaction.md)
