Sample code demonstrating How to set up custom URL schemes and Universal Links in iOS, handle incoming URLs in SwiftUI, and route users to the right screen..
This project accompanies the article: Deep Linking and Universal Links Setup in iOS
- Xcode 26.2+
- iOS 26.0+
- Swift 6.0
- Clone this repository
- Run
xcodegen generate(requires XcodeGen) - Open
DeepLinkingUniversalLinksSetup.xcodeproj - Build and run
- App.swift: Source file
- DeepLinkRouter.swift: Source file
- ContentView.swift: Source file
- HomeView.swift: Source file
- ProductDetailView.swift: Source file
- ProfileView.swift: Source file
- SettingsView.swift: Source file
- InviteView.swift: Source file
Read the full article at BleepingSwift for detailed explanations and additional examples.
MIT License - see LICENSE for details.