What is the fastest way to write images captured from camera to the Photos album on an iPhone?

StackOverflow https://stackoverflow.com/questions/3598532

  •  02-10-2019
  •  | 
  •  

Question

I'm currently using writeImageToSavedPhotosAlbum:orientation:completionBlock: and it is taking a little over 3 seconds to write an image to the Photos album ... whereas the standard Camera app seems to persist images much faster.

So, what is the fastest way to write files to the default Photos album?

I'm not sure what all my options are and the pros/cons of each. Any help would be appreciated.

Thanks -wg

Was it helpful?

Solution

Dont save them to the camera album first. I dont think there is a faster way to write to the iPhone camera library. but you can save them to your own application space or leave them in memory so and try and write in the background.

OTHER TIPS

Further, you can do saving photos in parallel using NSOperation. And like John, remained jobs can be done in background.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top