Hey there,
Aakash Dave
11

Hello, very happy to know you liked it!

1.

So you want to store every frame captured, for how long? That’s gonna be pretty heavy for the memory to store as time goes by I would say. If it is for a short duration time, you can create an array and append to it. If it’s for a long time, I would advise you to test and see where the limit is.

Inside the capture output delegate method, you have access to the UIImage and you can go on from there.

2.

To stop the recording, you can just call stopRunning() on the capture session:

Then, when you feel like resuming, just call startRunning() again:

Enjoy!

Show your support

Clapping shows how much you appreciated Boris Ohayon’s story.