1

My app allows users to take photos with the iOS SDK, and add them to data within the app. Is there a way to make it so that these photos are added to the camera roll, so that they can access them on their computers as well via Photo Stream?

Jason
  • 14,517
  • 25
  • 92
  • 153

1 Answers1

13

There is a function called UIImageWriteToSavedPhotosAlbum that will let you do this

UIImage* image = //image from somewhere
UIImageWriteToSavedPhotosAlbum(image, nil, nil, nil);
DHamrick
  • 8,338
  • 9
  • 45
  • 62