---
title: SFUniversalLink
framework: Safari app extensions
role: symbol
role_heading: Class
platforms: [macOS 10.15+]
path: safariservices/sfuniversallink
---

# SFUniversalLink

An object that provides browsers with the ability to discover associations between an app and a website.

## Declaration

```swift
class SFUniversalLink
```

## Overview

Overview Universal links are a bridge between an app and a website that have related content, such as products or services. Typically, clicking a link in a browser takes a person to a website. However, the person may have an app that provides the same content and a better experience. A web browser uses the SFUniversalLink class to discover such applications and provide the person with additional options for interaction beyond the default browser behavior. In order to use universal links, you need to use the entitlement com.apple.developer.associated-domains.applinks.read-write with a value of true. Before you submit an app with the entitlement to the App Store, you need to get permission to use the entitlement. Request permission at https://developer.apple.com/contact/request/browser-universal-links-request.

## Topics

### Initializing a Link

- [init(webpageURL:)](safariservices/sfuniversallink/init(webpageurl:).md)

### Configuring Universal Links

- [applicationURL](safariservices/sfuniversallink/applicationurl.md)
- [isEnabled](safariservices/sfuniversallink/isenabled.md)
- [webpageURL](safariservices/sfuniversallink/webpageurl.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

### Associated domains

- [Supporting associated domains](xcode/supporting-associated-domains.md)
- [Associated Domains Entitlement](bundleresources/entitlements/com.apple.developer.associated-domains.md)
