How to Add a New URL Scheme in iOS
Enabling custom URL schemes in your iOS app allows it to be launched from other apps or web content, and even pass data directly into specific screens.
1. Open Your Xcode Project
- Start Xcode on your Mac.
- Open your existing project or create a new one.
2. Select Your App Target
- In the Project Navigator, click your project name.
- Select the appropriate target under the “Targets” section.
3. Go to the Info Tab
In the project editor, navigate to the Info tab of your selected target.
4. Add a New URL Type
Scroll to the URL Types section. If not visible, click the +
button to add it.
5. Configure the URL Type
Click the +
again within the URL Types list. Then, set the URL Schemes field with your app’s custom scheme.
Use values provided in your dashboard for both test and production environments.
6. Testing the Integration
Open Safari and type yourappscheme://
replacing yourappscheme
with your real URL scheme. If everything is configured correctly, your app should open.