There's two ways to do it.
1) If you can encode your file as a string, you can pass it to another app via an NSURL
. The receiving app, "ReceivingApp" must implement the
- (BOOL)application:(UIApplication *)application handleOpenURL:(NSURL *)url
in it's application delegate. Send your data using the
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"receivingapp://your.data.goes.here"]]];
2) Use the pasteboard.
I would use the custom URL scheme since it 1) will save you a few steps and 2) it doesn't give the rest of the OS access to your data should something go amiss with the receiving app. I'm not sure what the character limit on an NSURL is, but it's pretty big.