diff --git a/src/ios/FileOpener2.m b/src/ios/FileOpener2.m index 9df9a4b..eaebace 100644 --- a/src/ios/FileOpener2.m +++ b/src/ios/FileOpener2.m @@ -23,7 +23,9 @@ //NSLog(@"path %@, uti:%@", path, uti); NSURL *fileURL = nil; - fileURL = [NSURL URLWithString:path]; + //fileURL = [NSURL URLWithString:path]; + fileURL = [NSURL fileURLWithPath:path]; + localFile = fileURL.path; dispatch_async(dispatch_get_main_queue(), ^{