我们在.net中开发了一个代码,用于将VCF格式的联系人文件发送到iphone。这个工作正常,直到ios9,但来自iPhone的ios 10联系人应用程序无法识别VCF文件。相反,它以ics格式显示,如下所示。
以下是我们以VCF格式发送的代码。有人可以帮我解决如何将联系人保存到ios 10的问题。
BEGIN:VCARD 版本:3.0 N:雅库博夫斯基;埃丽卡;;; FN:Erica Jakubowski ORG:全州法律 标题:技术支持专家 item1.TEL; TYPE = WORK,VOICE:800.222.0510 item1.X-ABLabel:工作语音 item2.TEL; TYPE = WORK,FAX:111.111.1111 item2.X-ABLabel:工作传真 item3.TEL; TYPE = CELL:222.222.2222 item3.X-ABLabel:工作移动 item4.EMAIL;类型= INTERNET,WORK,PREF:ejakubowsk@aslegal.com item4.X-ABLabel:工作 item5.ADR; TYPE = WORK,PREF:;; 1 Commerce Drive; Cranford; NJ; 07016; item5.X-ABLabel:工作 item6.URL; TYPE = WORK:www.aslegal.com item6.X-ABLabel:网站 注; ENCODING =引用打印:我= 20Mobile = 20Business = 20Card:= 20 = 0D = 0A = 0D = 0AI = 20learned = 20more = 20about = 20Erica = 20Jakubowski = 20Near = 2018 = 20Sikh = 20Rd,= 20Jupiter = 20Colony, = 20Radha = 20Swamy = 20Colony,= 20Bowenpally,= 20SC = 20on =一十七分之二百零九/ 2016 = 0D 0A = 0D = = = 0AFind = 20me 20here:= 20 = 0D = 0AMy = 20LinkedIn = 20Profile:= 20http:// www.linkedin.com/pub/erica-jakubowski/33/392/a02=0D=0AComplimentary=20vizCards:=20www.vizibility.com=0D=0AWhat's=20a=20vizCard?:=20https://www.youtube.com /watch?v=3DgTp4RMe8unw=0D=0AGoogle=20Me:=20https://www.google.com/webhp?sourceid=3Dchrome-instant&ion=3D1&espv=3D2&ie=3DUTF-8#q=3Dallintext: %22erica +雅库博夫斯基%22 +%22all态+法律%22 + OR + ASL ++ = 0D = 0AALL-STATE = 20LEGAL:= 20http://www.aslegal.com=0D=0Atest:= 20www.aslegal.com = 0D 0A = PHOTO; ENCODING = BASE64:; TYPE = PNG:iVBORw0KGgoAAAANSUhEUgAAALQAAAC0CAYAAAA9zQYyAAAAAXNSR0IArs4 END:VCARD