7

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!

Ray Zhang
  • 91
  • 1
  • 3
  • I think dot was hinting that you should provide the answer if you found it on your own. Or accept Simon Lee's answer if that helped. – TylerJames Apr 30 '12 at 16:43

1 Answers1

9

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.

Simon Lee
  • 22,304
  • 4
  • 41
  • 45
  • @RayZhang I am also building a similar application to Show Me but with more features. I am stuck with recording the screen while the user paints on the screen. The issue is with the iPad Retina. Can you share the codes if you have used to overcome the issue? – thoughtbreaker Sep 17 '12 at 12:37
  • @Simon: Can you please help for the same code for performance improvement?? I am using that code to record the video but I am also recording audio and also have drag and drop functionality with UIImageView. Now when I drag the image while recording video, dragging is very much ICHY, can you please tell me how to gain performance with that?? thanks in advance... – DShah Mar 02 '13 at 17:13