---
title: SFAddToHomeScreenActivityItem
framework: safariservices
role: symbol
role_heading: Protocol
path: safariservices/sfaddtohomescreenactivityitem
---

# SFAddToHomeScreenActivityItem

A protocol that describes a bookmark someone can add to their Home Screen.

## Declaration

```swift
protocol SFAddToHomeScreenActivityItem : NSObjectProtocol
```

## Overview

Overview To add a bookmark to someone’s Home Screen from your browser app, create an object that conforms to SFAddToHomeScreenActivityItem and present a UIActivityViewController that includes the activity item. If your browser app uses WebKit, SFAddToHomeScreenActivityItem always represents a bookmark. To let someone add a web app to their Home Screen, add a WKWebView to the UIActivityViewController activity items instead of a SFAddToHomeScreenActivityItem. WebKit inspects the website’s metadata to decide whether the item represents a bookmark or a web app. If your browser app includes an alternative browser engine, pass detailed information about the bookmark to getHomeScreenWebAppInfo(completionHandler:). If the bookmark represents a web app, include the web app manifest, and cookies that the system uses when someone opens the web app from their Home Screen. important: SFAddToHomeScreenActivityItem is only available to web browsers. For more information on creating a web browser, see Preparing your app to be the default web browser.

## Topics

### Describing a bookmark or web app

- [iconItemProvider](safariservices/sfaddtohomescreenactivityitem/iconitemprovider.md)
- [title](safariservices/sfaddtohomescreenactivityitem/title.md)
- [url](safariservices/sfaddtohomescreenactivityitem/url.md)

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

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

## Relationships

### Inherits From

- [NSObjectProtocol](objectivec/nsobjectprotocol.md)
