Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Programmatically capture video of screen

I would like to know if it is possible to capture a video of the iphone screen programmatically ? I saw there is an app for that but for jailbreak devices...So I do not know if there is some "legal" way to do it ?

like image 452
drn Avatar asked Nov 29 '25 00:11

drn


1 Answers

Check out ScreenCaptureView, this has video-recording support built-in (see link).

What this does is it saves the contents of a UIView to a UIImage. The author suggests you can save a video of the app in use by passing the frames through AVCaptureSession.

I believe it hasn't been tested with an OpenGL subview, but assuming that it works you might be able to modify it slightly to include audio and then you'd be set.

like image 181
Srikar Appalaraju Avatar answered Nov 30 '25 15:11

Srikar Appalaraju



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!