Originally posted on nicolasrizk.com — May 26, 2015
A virtual card format, or vCard, is the digital representation of a physical business card. In one of my projects, I attach a vCard to an email and a text message, and thought it would be helpful for those getting started with .vcf files that I share. I created a small project with a couple of methods to create the vCard, then attach it to MFMailComposeController. The code is available on GitHub. Enjoy!