From ac17d43271380cb0cb9e0346412ca39def3f8f58 Mon Sep 17 00:00:00 2001 From: Jose Bermudo Date: Wed, 23 Sep 2015 17:55:19 +0200 Subject: [PATCH] Fixed 'open in' iOS 9. Contributors: josemanuelbd & Rovi23. It also works in iOS 8. --- src/ios/FileOpener2.m | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/ios/FileOpener2.m b/src/ios/FileOpener2.m index 1d4a306..3d31a06 100644 --- a/src/ios/FileOpener2.m +++ b/src/ios/FileOpener2.m @@ -43,12 +43,13 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. NSString *uti = (__bridge NSString *)UTTypeCreatePreferredIdentifierForTag(kUTTagClassFilenameExtension, (__bridge CFStringRef)fileExt, NULL); dispatch_async(dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_DEFAULT, 0), ^{ - //NSLog(@"path %@, uti:%@", path, uti); + NSLog(@"TRAZAAAAAAAA"); + NSLog(@"path %@, uti:%@", path, uti); NSURL *fileURL = nil; //fileURL = [NSURL URLWithString:path]; fileURL = [NSURL fileURLWithPath:path]; - + NSLog(@"%@",fileURL); localFile = fileURL.path; dispatch_async(dispatch_get_main_queue(), ^{