How to open application using URL?

2019-06-08 05:54发布

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?

3条回答
三岁会撩人
2楼-- · 2019-06-08 06:32

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

查看更多
小情绪 Triste *
3楼-- · 2019-06-08 06:36

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!

查看更多
爷、活的狠高调
4楼-- · 2019-06-08 06:50

Add Innformation In Info.Plist File

In Url Identifier Enter Your Package Name && Url schemes add Application Name

  1. In Url Identifier Enter Your Package Name && Url schemes add Application Name
  2. open link like schemesname:// Then Open Your App
查看更多
登录 后发表回答