问题
I want to know if there is any public API in AVFoundation or any other framework which can be used to record screen like Talking Tom Cat does. I looked into AVFoundation and CoreVideo frameworks but could not find anything from the header files.
If anyone knows how to record screen video prgramatically using iPhone SDK, let me know.
回答1:
you can do it in the following steps:
- capture screen
- take that frame in a queue
- write it with avassertwriter
- and export the video
there is a sample application for understanding these things in the wwdc2010 sample code.
hope this helps.(sample app name : aveditdemo)
来源:https://stackoverflow.com/questions/4714273/how-to-record-video-of-screen-like-talking-tom-cat-on-iphone