How to take a screen shot in iPhone via code

Posted by Radix on Stack Overflow See other posts from Stack Overflow or by Radix
Published on 2010-12-30T12:49:12Z Indexed on 2010/12/30 12:53 UTC
Read the original article Hit count: 153

Filed under:
|
|

Hello friends;

I am working on an app and am almost done with it, but the only thing pending is that i am not able to take screen shots of my screen on the touch of the UIButton object.

I have saw a code available which said to use UIGetScreenImage(), but alas that didn't worked fine.

I want to take the screen shot and display it in the UIImageView.

So can you please provide me with the link or code to do the same, that would be really nice of you

Thanks & Regards Radix

© Stack Overflow or respective owner

Related posts about iphone

Related posts about objective-c