So what if I want to make an app where you can take a screen shot within the app itself. How would I do that? So for example the users click a UIButton and it takes a picture of the screen.
A:
Are you just trying to take screenshots? Or is there a reason you need to take a screenshot in the application itself?
Because on the iphone you can hit the power button and home button at the same time to take a screenshot (which is saved the to the camera roll).
Paul
2010-05-02 03:15:14
I am trying to take a screenshot in the application itself.
thyrgle
2010-05-02 03:17:34
+2
A:
There is an undocumented, but SDK allowed, function UIGetScreenImage()
. It returns a CGImage
that you are responsible for releasing yourself.
chpwn
2010-05-02 03:17:05