Allowing Apps and Websites to Link to Your Content Apple Developer Documentation
Allowing Apps and Websites to Link to Your Content Apple Developer Documentation
Xcode /
Overview
You can connect to content deep inside your
app with universal links. Users open your app
in a specified context, allowing them to
accomplish their goals efficiently.
open(_:options:completion
Handler:) in iOS and tvOS
openSystemURL(_:) in watchOS
open(_:withApplicationAt:
configuration:completion
Handler:) in macOS
openURL in SwiftUI
Note
If your app uses one of the above
methods to open a universal link to your
website, the link wonʼt open in your app.
https://myphotoapp.example.com/albums?alb
https://myphotoapp.example.com/albums?alb
The open(_:options:completion
Handler:) method of UIApplication
in iOS and tvOS
The open(_:withApplicationAt:
configuration:completion
Handler:) method of NSWorkspace in
macOS
Topics
Universal links
Associated domains
Custom URLs
Default apps
Developer Documentation
Platforms +
Tools +
Resources +
Support +
Account +
Programs +
Events +