<!--
{
  "availability" : [
    "macOS: 10.15.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "SafariServices",
  "identifier" : "/documentation/SafariServices/SFUniversalLink",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "Safari Services"
    ],
    "preciseIdentifier" : "c:objc(cs)SFUniversalLink"
  },
  "title" : "SFUniversalLink"
}
-->

# SFUniversalLink

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

```
class SFUniversalLink
```

## 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 <doc://com.apple.documentation/documentation/BundleResources/Entitlements/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

[`-  initWithWebpageURL:`](/documentation/SafariServices/SFUniversalLink/init(webpageURL:))

Creates a universal link object with the URL.

### Configuring Universal Links

[`applicationURL`](/documentation/SafariServices/SFUniversalLink/applicationURL)

The URL to the app that can open this universal link.

[`enabled`](/documentation/SafariServices/SFUniversalLink/isEnabled)

A flag that indicates whether the universal link is enabled.

[`webpageURL`](/documentation/SafariServices/SFUniversalLink/webpageURL)

The URL specified when initializing the receiver.

## Relationships

### Conforms To

[`Equatable`](/documentation/Swift/Equatable)

[`CVarArg`](/documentation/Swift/CVarArg)

[`Hashable`](/documentation/Swift/Hashable)

[`NSObjectProtocol`](/documentation/ObjectiveC/NSObjectProtocol)

[`CustomDebugStringConvertible`](/documentation/Swift/CustomDebugStringConvertible)

[`CustomStringConvertible`](/documentation/Swift/CustomStringConvertible)

### Inherits From

[`NSObject-swift.class`](/documentation/ObjectiveC/NSObject-swift.class)

---

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)