Update FileOpener2.m

This commit is contained in:
pwlin 2014-05-18 14:18:49 +02:00
parent 32898e0636
commit 3b31ea085f

View File

@ -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(), ^{