---
title: universalLinksOnly
framework: uikit
role: symbol
role_heading: Type Property
path: uikit/uiapplication/openexternalurloptionskey/universallinksonly
---

# universalLinksOnly

URLs must be universal links and have an app configured to open them.

## Declaration

```swift
static let universalLinksOnly: UIApplication.OpenExternalURLOptionsKey
```

## Discussion

Discussion When you include this key in the options dictionary of the open(_:options:completionHandler:) method, the method opens the URL only if the URL is a valid universal link and there is an installed app capable of opening that URL. The value of this key is an NSNumber object containing a Boolean value.
