问题描述
简单的问题,我正在开发一个注册自己的URL Scheme的应用程序。我计划通过一个人最喜欢的QRCode阅读器使用QRCode启动应用程序。
Simple question, I'm developing an application that will register its own URL Scheme. I plan to launch the application using a QRCode via a person's favourite QRCode reader.
我的问题:如果我的应用程序尚未安装在他们的iPhone / iPad上,会发生什么?他们会被引导到App Store下载我的应用吗?或者它会失败吗?
My question: if my application is not yet installed on their iPhone/iPad, what will happen? Will they be directed to the App Store to download my app? Or will it just fail?
我现在不在我的Mac上,否则我会构建一个测试应用程序来启动我知道不是的应用程序的URL安装。如果我在有人回答之前回到我的Mac,我会用我的结果更新问题。
I'm not at my Mac right now, otherwise I'd build a test app to launch a URL for an app I know is not installed. If I get back to my Mac before someone answers, I'll update the question with my results.
推荐答案
如果你直接链接对你的应用程序方案,它将失败。但是,如果您链接到网站上的页面,其中包含,则会尝试打开您的应用程序,然后是应用程序商店,如果它失败。
If you link directly to your app scheme, it will fail. However, if you link to a page on a website with the code available on this StackOverFlow question, it will attempt to open your app, then the app store if it fails.
这篇关于未安装的应用程序的URL方案的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!