Screen capture video in iOS programmatically

雨燕双飞 提交于 2019-11-27 11:23:00

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!