开发者

iphone email attachment and application handleOpenURL

开发者 https://www.devze.com 2022-12-21 18:40 出处:网络
I want to send/receive attachments with Mail iPhone, and pass those attachments to my App. If I send a normal link like:

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 op开发者_JAVA百科en 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.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号