How to Write Images to Camera Roll in iOS

Writing an image to the camera roll is fairly simple in iOS development, but when it comes to detecting when the image has been written to the camera roll, it is not as simple as we think. Surprisingly, Apple does not give us any closure-based APIs that we can leverage to know exactly when the write operation is completed.

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store