tags:

views:

241

answers:

0

Hello,

I want to send/receive attachments with Mail iPhone, and pass those attachments to my App.

If I send a normal link like:

myApp://someurlehere/withOneParam

my apps open and the event handleOpenURL fires.

But I don't know how to change the name of the attachment to go like this way:

[pickerMail addAttachmentData:imageData mimeType:@"application/xml" fileName:@"myApp://backup.xml"];

When I receive the e-mail attachment, the name is:

myApp:__backup.xml

Should I encode/decode with Base64 ot the URL or something like that ?

thanks in advance,

r.