From d1fab6d457a91e1bcd43b183ad1aa26c6591db35 Mon Sep 17 00:00:00 2001 From: pwlin Date: Tue, 4 Oct 2016 19:21:31 +0200 Subject: [PATCH] Revert "Fixed for iOS 10" --- src/ios/FileOpener2.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ios/FileOpener2.m b/src/ios/FileOpener2.m index 3ce4579..b9f67fa 100644 --- a/src/ios/FileOpener2.m +++ b/src/ios/FileOpener2.m @@ -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 fileURLWithPath:path]; + NSURL *fileURL = [NSURL URLWithString:path]; localFile = fileURL.path;