I have implemented all the required things but had no success. I want to open the application from browser - but not with just URL schema like a "callback".
I have something like "http://11.11.21.114:8081/signup/callback?signupCode=123?id=20" so how can I identify this url to open my application?
Use Universal Links
But it will only work with Public website URL, that should be accessible to Apple Servers.
The only thing you need is to have https server and access to upload a associated domains file.
When you support universal links, iOS 9 users can tap a link to your website and get seamlessly redirected to your installed app without going through Safari. If your app isn’t installed, tapping a link to your website opens your website in Safari.
Apple Link : => Support Universal Links
Follow this nice tutorial : => Universal Link
To Launch application from Url , Deep Link is used . Here is tutorial for complete step by step for opening application :
http://blog.originate.com/blog/2014/04/22/deeplinking-in-ios/
Once its done , just add url into Xcode Plist file , then passing url on browser will launch iOS Application.
Hope it Helps!
来源:https://stackoverflow.com/questions/39287958/how-to-open-application-using-url