From cc90ff7e70211420d1297213433ab7a493d8738b Mon Sep 17 00:00:00 2001 From: Gillardo Date: Fri, 30 Sep 2016 11:35:29 +0100 Subject: [PATCH] Update FileOpener2.m Doesnt work on 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 b9f67fa..3ce4579 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 URLWithString:path]; + NSURL *fileURL = [NSURL fileURLWithPath:path]; localFile = fileURL.path;