Contents

isEnabled

A flag that indicates whether the universal link is enabled.

Declaration

var isEnabled: Bool { get set }

Discussion

This Boolean property indicates if the universal link is enabled.

When enabled, this property has two defined behaviors:

  1. If an application opens the universal link, the system opens the link in the native application represented by the application URL property instead of the browser.

  2. If a browser opens the universal link, it can choose to open the URL using open(_:withApplicationAt:configuration:completionHandler:), or can present other information to the user as appropriate.

When this property is disabled, the browser simply opens the URL as it normally would.

See Also

Configuring Universal Links