mirror of
https://gitee.com/shuto/cordova-plugin-file-opener2.git
synced 2025-01-31 12:02:49 +08:00
commit
f3aba196d6
@ -43,7 +43,7 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
|
||||
dispatch_async(dispatch_get_main_queue(), ^{
|
||||
// TODO: test if this is a URI or a path
|
||||
NSURL *fileURL = [NSURL URLWithString:path];
|
||||
NSURL *fileURL = [NSURL fileURLWithPath:path];
|
||||
|
||||
localFile = fileURL.path;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user