I have an ipad app which takes images from Photos application using ALAssetsLibrary
and then uploads them to web server. So far everything is working fine.
Now if i go to the photos application and edit an image (say crop) and upload, the original un-cropped is getting uploaded. I am accessing/saving a the photo using the asset url.
Ex:
createPhoto:
assetUrl: assets-library://asset/asset.JPG?id=542F09CA-00E1-412E-A7E6-0C222E3F8FFB&ext=JPG,
UTIs: (
"public.jpeg"
),
UTI:public.jpeg
This is not a ALAssetsLibrary
cache issue becuase, i have tried editing, kill app, start, upload which still uploads old image.
Question:
- How do i know if a edited (cropped/red eye/enhanced) version of the photo is available?
- How do i access the edited version of the photo?