Remove photo from ALAssetsGroup imported from the Camera Roll

Originator:guilhermesampaio
Number:rdar://20297122 Date Originated:03/25/2015
Status:Open Resolved:
Product:iOS Product Version:8.2
Classification: Reproducible:Always
 
Summary:
I'd like to be able to delete a photo that has been imported from the camera roll to a custom ALAssetsGroup that I have created.

Steps to Reproduce:
1. Create a ALAssetsGroup
2. Add a photo from the camera from into the ALAssetsGroup
3. Try to delete the photo from the ALAssetsGroup inside your application code
4. An error raise 

Expected Results:
The application should be able to delete a photo imported from a ALAssetsGroup that my application have created.

Actual Results:
- [ALAsset setImageData:metadata:completionBlock:] returns an error when setting nil as the imageData

Version:
iOS 8.2

Notes:


Configuration:
iPhone 6 64GB T-Mobile

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!