如何从网站上的链接打开原生 iOS 应用程序(日历、笔记...)? [英] How to open native iOS app (calendar, notes...) from a link on website?

查看:20
本文介绍了如何从网站上的链接打开原生 iOS 应用程序(日历、笔记...)?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否可以打开原生 iOS 应用程序,例如日历或笔记,来自网站中的 HTML 链接?我试图找到一个例子,但我不能.我遇到了这些 URL 方案,但我不知道如何使用它们以及日历或笔记的 URL 方案是什么.是否有可能只是做这样的事情:

Is it possible to open native iOS app, e.g. calendar or notes, from an HTML link which is in website? I tried to find an example but I couldn't. I ran into these URL schemes but I don't know how to use them and what's the URL scheme for calendar or notes. Is it possible just to do something like this:

<a href="calendar://something here?">Click me!</a> 

是否可以仅使用 HTML 或需要 JavaScript?

Is it possible to do it only with HTML or is JavaScript needed?

推荐答案

如果您正在寻找 URL Schema,iPhone 日历是:CALSHOW:

If you're looking for the URL Schema, iPhone Calendar is: CALSHOW:

这篇关于如何从网站上的链接打开原生 iOS 应用程序(日历、笔记...)?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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