File sharing / send file in another app (“open in” in iOS)
问题 my app make a simple file called log.txt the URL of this file (viewed in xcode) is file://localhost/var/mobile/Applications/ NUMBER OF THE APPLICATION /Documents/log.txt So I can see this file in the finder ... I wanted to add the "open in" feature to my app to provide the user to share this file (via mail or imessage) or open this file in another compatible app. Here is what I do : -(void) openDocumentIn { NSURL *fileURL = [[NSURL alloc] initFileURLWithPath:docFile]; //docFile is the path /