I\'m using this method to take a screenshot of my app:
+ (NSData*)TakeScreenshot
{
// Create a graphics context with the target size
// On iOS 4 and
There is no public method which allows you to take a screenshot of the entire screen (i.e. with the status bar). There is a private method though UIGetScreenImage which allows you to use achieve this functionality. But, since it's a private method you will get your app rejected if you submit it to the App Store.