mirror of
https://gitee.com/shuto/cordova-plugin-file-opener2.git
synced 2025-01-31 12:02:49 +08:00
Merge pull request #82 from pwlin/revert-80-master
Revert "Fixed for iOS 10"
This commit is contained in:
commit
cd924d4757
@ -43,7 +43,7 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|||||||
|
|
||||||
dispatch_async(dispatch_get_main_queue(), ^{
|
dispatch_async(dispatch_get_main_queue(), ^{
|
||||||
// TODO: test if this is a URI or a path
|
// TODO: test if this is a URI or a path
|
||||||
NSURL *fileURL = [NSURL fileURLWithPath:path];
|
NSURL *fileURL = [NSURL URLWithString:path];
|
||||||
|
|
||||||
localFile = fileURL.path;
|
localFile = fileURL.path;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user