1

Can I delete a photo in the camera roll? If so, how can I do that?

elife
  • 153
  • 8
  • Possible duplicate of [How to delete a photo from camera roll?](http://stackoverflow.com/questions/16846344/how-to-delete-a-photo-from-camera-roll) – scosman Jan 07 '16 at 16:09
  • 1
    Be warned, the answer to this is out of date (it's possible since iOS 8). The moderator deleted my answer and told me to mark it as a dupe instead (even though that requires 3000 points). There is a way to do this, but apparently if I tell you, my post will be deleted. – scosman Jan 07 '16 at 16:10

2 Answers2

2

No, and I would be very afraid if there was.

Douwe Maan
  • 6,888
  • 2
  • 34
  • 35
  • 3
    Why be so afraid? iPhone's native photo app can delete photo, why not allow other apps delete photo which selected by user( UIImagePickerController)? – elife Jul 11 '10 at 12:37
  • Using a `UIImagePickerController` would be okay, but I wouldn't be happy as a user if there were an API to directly delete pictures from the Camera Roll. – Douwe Maan Jul 12 '10 at 06:28
  • Buggy API programming by a developer could wipe out a user's camera roll? no thanks. I agree, a UIImagePickerController would be useful, but not direct access. – chilitechno.com May 15 '11 at 22:38
0

This is now possible in iOS8+ using the deleteAssets method of the PHChangeRequest object.

iOS will prompt the user for permission when you call this method.

Mike Chamberlain
  • 39,692
  • 27
  • 110
  • 158