Reputation: 265
I am working on a video app. I want to record video as in vine app. Means record on tap and stop record on remove tap. Please tell me how to add frame on touches.
Upvotes: 4
Views: 3242
Reputation: 248
I put together something that could be useful for you. https://github.com/Kseniya/NewVideoRecorder
Using AVCaptureSession record while holding your finger, stop when release. Hold again, record a next one. Add them into an array. And then at the end merge them into one composition and save into camera roll.
I'm still working on it, so i'll be happy to answer any questions.
Upvotes: 5