如何从网页添加联系人到iPhone的地址簿? [英] How to add a contact to the iPhone's Address Book from a Web Page?

查看:121
本文介绍了如何从网页添加联系人到iPhone的地址簿?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在桌面Mac世界中,如果我点击链接到VCF文件的网页中的链接,则此文件将在地址簿应用程序中打开。然而,在iPhone世界中,这样做会导致显示消息下载失败.Safari无法下载此文件。所以,我的问题是,实际上是否可以从网页上为iPhone的地址簿添加联系人?

In the desktop Mac world, if I were to click on a link in a web page which linked to a VCF file, this file would be opened in the Address Book application. In the iPhone world, however, doing that results in the message "Download failed. Safari cannot download this file" being displayed. So, my question is, is it actually possible to add a contact to your iPhone's Address Book from a web page?

我有原始的VCF文件和hCard微格式我可以使用的数据版本,因此解决方案不必与下载原始文件相关联 - 我可以在必要时重新处理数据。唯一的要求是从Mobile Safari中正在查看的网页上将联系人添加到iPhone的地址簿。

I have both the original VCF file and an hCard microformatted version of the data available to me, so the solution does not have to be tied to downloading the original file - I'm able to reprocess the data if necessary. The only requirement is to add the contact to the iPhone's Address Book from a webpage being viewed from within Mobile Safari.

那么,有什么想法吗?

推荐答案

虽然略微超出了原始要求的范围,但我找到了可以解决的问题的解决方案。

Whilst slightly outside of the scope of my original requirements, I have found a solution to the problem that I can work with.

事实证明,如果您收到一封带有vcard的电子邮件作为附件,那么您就可以打开此附件并将其添加到您的地址簿中。因此,如果不是向iPhone用户提供vcard下载链接,而是向他们提供通过电子邮件发送vcard的方式,那么他们就可以将卡添加到他们的地址簿中。

As it turns out, if you receive an email with a vcard in it as an attachment, then you are able to open this attachment and add it to your address book. So, if instead of offering a vcard download link to iPhone users you provide them with a way to be sent the vcard via email instead then they are able to add the card to their address book.

一个稍微迂回的解决方案,但是我能够想出最好的解决方案,而Apple不允许你本地化。当然,这是一个比什么都不做更好的解决方案。

A slightly roundabout solution, but about the best I'm able to come up with whilst Apple don't allow you to do it natively. Certainly it's a better solution than doing nothing at all.

我最后写了一篇关于此的博文:从网页上添加vCard到你的iPhone地址簿

I ended up writing a blog post about this: Adding a vCard to your iPhone Address Book from a web page

这篇关于如何从网页添加联系人到iPhone的地址簿?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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