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

# getHomeScreenWebAppInfo(completionHandler:)

Provides information about a web app to the system.

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

## Parameters

`completionHandler`

A closure that you call to supply the web app’s information to the system.

## Overview

Add information about the web app to a [`SFAddToHomeScreenInfo`](/documentation/SafariServices/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:)`](/documentation/SafariServices/SFAddToHomeScreenActivityItem/getWebAppManifest(completionHandler:)).

---

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)