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.
There is an undocumented, but SDK allowed, function UIGetScreenImage()
. It returns a CGImage
that you are responsible for releasing yourself.