Ray Zhang
Ray Zhang

Reputation: 91

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!

Upvotes: 7

Views: 6397

Answers (1)

Simon Lee
Simon Lee

Reputation: 22334

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.

Upvotes: 9

Related Questions