Before iOS7 I use UIGetScreenImage() function to take the screenshot easily, but in iOS7, it becomes deprecated, now are there any good methods to archive this?Than
UIGetScreenImage()
The UIView class has an method called: resizableSnapshotViewFromRect:afterScreenUpdates:withCapInsets .
But i have never worked with this method so i cannot tell you more about it.
And this post: Capture UIView as UIImage shows how you get the returned UIView into an image.
hope it is usefull.