How do I add vcardfile in the composer sheet of an iPhone application

Posted by Pinky on Stack Overflow See other posts from Stack Overflow or by Pinky
Published on 2010-02-04T13:38:14Z Indexed on 2010/03/16 9:06 UTC
Read the original article Hit count: 292

Filed under:
|
|
|

in the mail sheet im able to add images but where as im not able to attach vcard file

MFMailComposeViewController *picker = [[MFMailComposeViewController alloc] init];
picker.mailComposeDelegate = self;
[picker addAttachmentData:ExportVCF mimeType:@"text/x-vcard" 
                           fileName:@ "JOHNSMITH.vcf"];

but when i send a mail im not getting the attachment

© Stack Overflow or respective owner

Related posts about iphone

Related posts about mail