I am developing a cocos2d game and I need to take a snapshot of the status bar. I have found that ios7 supports a full screen view capture(including status bar) through the following statement:
UIView *screenshotView = [[UIScreen mainScreen] snapshotViewAfterScreenUpdates:NO];
I converted this view to a UIImage and then saved it using "UIImageWriteToSavedPhotosAlbum". However, the saved screenshots are all white. How do I fix this?