iOS - 使用Chrome中的网址方案打开应用 [英] iOS - Open an app with a URL Scheme from Chrome

查看:341
本文介绍了iOS - 使用Chrome中的网址方案打开应用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经阅读了许多博客和如何从 URL方案打开应用程序的示例(例如,这个博客),当我从调用我的应用程序时它看起来很棒移动野生动物园。例如,当我在移动版Safari中调用 testapp://some.data.here 时,会打开我的 testapp 并且我可以解析some.data.here。

I've read many many blogs and examples of how to open an app from an URL scheme (for example, this blog), and it seems to work great when I call my app from mobile safari. For instance, when I call testapp://some.data.here in mobile safari, it opens my testapp and I can parse out the some.data.here.

然而,当我打电话给 testapp://some.data.here 在iOS- Chrome 中,它只是搜索该字词而不是调用该应用。

However, when I call testapp://some.data.here in iOS-Chrome, it just googles the term instead of calling the app.

有没有办法让iOS Chrome 移动版Safari 的方式将网址识别为已注册的应用?

Is there a way to have iOS Chrome recognize the URL as a registered app the way mobile safari does?

当我谷歌这个话题时,我看到了很多关于如何从应用程序打开chrome中的url的评论,但不是相反。

When I google this topic, I see a lot of comments on how to open a url in chrome from an app, but not the other way around.

有没有人遇到过这个?

谢谢!

推荐答案

由于Chrome应用出现的方式如果没有越狱(即使那时,也不容易),目前看来这是不可能的。您应该对Google Chrome iOS团队提出错误进行修复这个(例如在google搜索之前尝试使用URL方案在所有已注册的应用程序中打开)。对不起,我没有更多的用处,但似乎没有一个简单的方法。

Due to the way that the Chrome app appears to be developed, it doesn't seem this is possible at present without a jailbreak (and even then, not easily). You should go bug the Google Chrome iOS team to fix this (e.g. try to open in all registered apps with URL schemes before googling). Sorry I couldn't be of more use, but there just doesn't seem to be an easy way around it.

这篇关于iOS - 使用Chrome中的网址方案打开应用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆