是否有 iphone url 方案可以从链接以独立模式启动 Web 应用程序 [英] Is there an iphone url scheme to start a web app in standalone mode from a link

查看:30
本文介绍了是否有 iphone url 方案可以从链接以独立模式启动 Web 应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想要做的是:

  • 我有一个网络应用,用户可以选择将其添加到主屏幕并以独立模式运行.
  • 有时,应用程序的服务器端会向用户发送短信以通知用户重大事件.SMS 包含指向事件应用页面的 URI.
  • 如果用户已将应用程序添加到主屏幕,我想在独立模式

有没有办法做到这一点?

Is there a way to achieve this?

编辑

到目前为止,我发现 iOS 没有实现用于在独立模式下启动基于浏览器(即 Web 应用程序)的 url 方案.... 但 Apple 应该这样做 :) Apple 实现了对 youtube.com 网址的解析,并将它们重定向到视频应用.

From what I've found so far iOS does not implement a url scheme for launching browser based (ie. web apps) in standalone mode. ... But apple should though :) Apple implements parsing of urls to youtube.com and redirects them to the video app.

如果他们将 URL 存储到放置在主屏幕上的应用程序,那么将链接重定向到该应用程序将是一项简单的任务.

If they store the URL to the app placed on the home screen it would be a simple task to redirect links to that app.

推荐答案

iOS 没有实现用于在独立模式下启动基于浏览器(即 Web 应用程序)的 url 方案.... 但 Apple 应该这样做 :) Apple 实现了对 youtube.com 网址的解析,并将它们重定向到视频应用.

iOS does not implement a url scheme for launching browser based (ie. web apps) in standalone mode. ... But apple should though :) Apple implements parsing of urls to youtube.com and redirects them to the video app.

如果他们将 URL 存储到放置在主屏幕上的应用程序,那么将链接重定向到该应用程序将是一项简单的任务.

If they store the URL to the app placed on the home screen it would be a simple task to redirect links to that app.

这篇关于是否有 iphone url 方案可以从链接以独立模式启动 Web 应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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