How to save a UIImage to the Camera Roll in iOS

The UIImage Class provides a method that can save an image straight to the Camera Roll. In this example, yourImage is a UIImage:

That’s short and sweet – but there’s no feedback by default, like a delegate method that informs you of how this operation went.

camera-roll

A much better option is to make use of the selector this method can call upon success or failure, like so:

This content is for members only.

About Jay Versluis

Jay is a medical miracle known as Super Survivor. He runs two YouTube channels, five websites and several podcast feeds. To see what else he's up to, and to support him on his mission to make the world a better place, check out his Patreon Campaign.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.