Revert "Fixed for iOS 10"

This commit is contained in:
pwlin 2016-10-04 19:21:31 +02:00 committed by GitHub
parent f3aba196d6
commit d1fab6d457

View File

@ -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;