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

How to calculate SNR of signals in MATLAB? -

c# - Attempting to upload to FTP: System.Net.WebException: System error -

ios - UISlider customization: how to properly add shadow to custom knob image -