Guest User

Untitled

a guest
Jul 12th, 2018
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.20 KB | None | 0 0
  1. _mail.AddAttachmentData(nsd,"text/plain", filePath);
  2.  
  3. NSString *myFilePath = [[NSBundle mainBundle] pathForResource:@"MyFile" ofType:@"txt"];
  4. NSData *myData = [NSData dataWithContentsOfFile:myFilePath];
Add Comment
Please, Sign In to add comment