In my App, I am creating a file.txt with some data.
The path of the file is:
NSArray *paths = NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES)
NSString *path = [[paths objectAtIndex:0] stringByAppendingPathComponent:@"file.txt"];
How can I programatically copy or send that file to my computer?
After my program is done how can I copy that file?
In your info.plist set “Application supports iTunes file sharing” to YES.
Then you save your files in documents folder via iTunes. Click your device -> apps -> your app