I used the code below to get the email attachment file url.
NSURL *url=(NSURL*)[launchOptions valueForKey:UIApplicationLaunchOptionsURLKey];
but
bool b=[[NSFileManager defaultManager] fileExists:[url absoluteString];
always returns NO, which means the email attachment file does not exist.
Welcome any comment
Don’t you want to use
rather than sending the NSURL instance an absoluteString message?