Closed lovelyelfpop closed 9 years ago
when the option "directory" is a file URL(start with "file://") on ios, the storeImage(saveImage) function failed.
add this line after "NSString *directory = [options objectForKey:@"directory"];" inside the "saveImage" function:
"directory = [self getUrl:directory];"
Hi, thanks. Looks like you find a fix already! :-) If you tested it and it works - care to send a PR?
PR merged, https://github.com/RaananW/PhoneGap-Image-Resizer/pull/21
when the option "directory" is a file URL(start with "file://") on ios, the storeImage(saveImage) function failed.
add this line after "NSString *directory = [options objectForKey:@"directory"];" inside the "saveImage" function:
"directory = [self getUrl:directory];"