mailto -link 未在 iOS Web App 上启动 [英] mailto -link not launching on iOS Web App

查看:27
本文介绍了mailto -link 未在 iOS Web App 上启动的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试启动一个带有 href="mailto:foo@bar.com" 的链接(也尝试过mailto://foo@bar.com").当我提醒 this.href 时,它返回正确的值,但之后没有任何反应.

I'm trying to launch a link with href="mailto:foo@bar.com" (also tried "mailto://foo@bar.com"). When I alert this.href, it returns the correct value, but nothing happens afterwards.

是否有用于 Web 应用程序启动邮件程序的自定义 URL 方案?这是工作,例如.使用地图,所以我不知道为什么相同的方法不适用于电子邮件.

Is there a custom URL Scheme for Web Applications to launch Mail-program? This is working eg. with Maps, so I have no idea why same approach wouldn't work with E-mail.

有什么建议吗?

推荐答案

摘自 Apple 的 iPhone URL 方案指南:

Taken from Apple's iPhone URL scheme guide:

这篇关于mailto -link 未在 iOS Web App 上启动的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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