I am wondering how my iPhone app can take a screen shot of a specific UIView as a UIImage.
UIView
UIImage
I tried this code but all I get is a blank image
Apple does not allow:
CGImageRef UIGetScreenImage();
Applications should take a screenshot using the drawRect method as specified in: http://developer.apple.com/library/ios/#qa/qa2010/qa1703.html
drawRect