Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to record video of your screen inside an ios app with code?

Just like "ShowMe" app in apple store, users can paint and record the actions as a video. Do you guys know how to do that in code? Thanks!

like image 471
Ray Zhang Avatar asked Jul 18 '11 09:07

Ray Zhang


People also ask

How do I record my iPhone screen internally?

Record internal sound only 1) Slide up to access the Control Center. 2) Press firmly (or tap and hold) the Screen Recording button. 3) Tap the red microphone icon to turn Off the external audio. 4) Tap Start Recording.


1 Answers

We recently had this question and found a fantastic article which uses the layer of your view and the media framework.

Check out link here...

We modified it to use the presentation layer instead though instead of...

[self.layer renderInContext:context];

use...

[[self.layer presentatationLayer] renderInContext:context];

... this captures animation block transitions as well. Very neat.

like image 136
Simon Lee Avatar answered Oct 17 '22 22:10

Simon Lee