问题
I'm trying to create a UIView that allows a user to tap a button in i and record the screen (not make a video from the camera), then save it to the document folder. I've seen a couple of SO articles here that talk about AVAssetWriter and make references to this link: http://codethink.no-ip.org/wordpress/archives/673 , but that link appears to be dead.
But no one has actually shown a solution or provided any examples on how to accomplish. Anyone have any ideas or can point me in the right direction? This should be simpler than it is.
Thanks, Doug
回答1:
The link is not dead.
http://codethink.no-ip.org/wordpress/archives/673
If you check the comments, there is also some code that will mix audio & video and save it as a quicktime movie.
If you still can't access the link, there is a guy selling the same code on binpress:
http://www.binpress.com/app/ios-screen-capture-view/1038
回答2:
Another useful project for this is RecordMyScreen, found here: https://github.com/coolstar/RecordMyScreen
回答3:
Another way to approach it is using a feedback library such as BlitFeedback, which includes effortless screen video-capturing.
来源:https://stackoverflow.com/questions/11334977/screen-capture-video-in-ios-programmatically