---
title: "getHomeScreenWebAppInfo(completionHandler:)"
framework: safariservices
role: symbol
role_heading: Instance Method
path: "safariservices/sfaddtohomescreenactivityitem/gethomescreenwebappinfo(completionhandler:)"
---

# getHomeScreenWebAppInfo(completionHandler:)

Provides information about a web app to the system.

## Declaration

```swift
optional func getHomeScreenWebAppInfo(completionHandler: @escaping @Sendable (SFAddToHomeScreenInfo?) -> Void)
```

```swift
optional func homeScreenWebAppInfo() async -> SFAddToHomeScreenInfo?
```

## Parameters

- `completionHandler`: A closure that you call to supply the web app’s information to the system.

## Overview

Overview Add information about the web app to a SFAddToHomeScreenInfo object that you create, and pass it to the completion handler. The system only calls this method in browser apps that include an alternative browser engine. If you implement this method, then the system doesn’t call your implementation of getWebAppManifest(completionHandler:).

## See Also

### Providing information about a web app to the system

- [SFAddToHomeScreenInfo](safariservices/sfaddtohomescreeninfo.md)
- [getWebAppManifest(completionHandler:)](safariservices/sfaddtohomescreenactivityitem/getwebappmanifest(completionhandler:).md)
