iphone - Delete an ALAsset -


i'm using photo viewer , wan't implement trash button.

i have button ready , go following:

how delete alasset??

i tried searching in many places couldn't find answer...

thanks,

for reason i'm not allowed post question i'm adding irrelevant code of trash button:

uibarbuttonitem *trash = [[uibarbuttonitem alloc] initwithbarbuttonsystemitem:uibarbuttonsystemitemtrash target:self action:@selector(trashbuttonhit:)]; 

you can't delete alasset, there no api this.

an alasset link file in photo library, outside of sandbox of app. assets library allows acces file in photo library read only.


Popular posts from this blog

Php - Delimiter must not be alphanumeric or backslash -

c# - How to change the "Applies To" field under folder auditing options programatically (.NET) -

c++ - Ambiguity when using boost::assign::list_of to construct a std::vector -