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.