mirror of
https://gitee.com/shuto/cordova-plugin-file-opener2.git
synced 2025-01-31 12:02:49 +08:00
Update FileOpener2.m
This commit is contained in:
parent
32898e0636
commit
3b31ea085f
@ -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(), ^{
|
||||
|
Loading…
Reference in New Issue
Block a user