piemonte / PBJVision

📸 iOS Media Capture – features touch-to-record video, slow motion, and photography
MIT License
1.93k stars 324 forks source link

How do I implement an undo function as in instagram or vine? #315

Closed ManholeGit closed 7 years ago

ManholeGit commented 8 years ago

First, Your code is very useful. Thanks. :)

My Solutions :

Every time a touch event occurs, a new video file is created. If Undo is tapped, I delete the last file. In the final step, I merge all files that are available . Do you think this is the best way? or have any other idea?

akerdi commented 8 years ago

i meet a demand like this, and i have no idea to start with it...,some one help?

piemonte commented 8 years ago

I've got a new solution in the works for video, will update the README as well as some of the issues here when it's available.

akerdi commented 8 years ago

i have a solution of deleting the video when user finishing capture,but it is data that i fetch it from sandBox.It is not the case...

piemonte commented 7 years ago

Hey @ManholeGit if you checkout my NextLevel project, it has the ability to undo and re-arrange video clips.

🌎 https://github.com/NextLevel/NextLevel