am using ScratchPadView for iphone app when am taking screenshot on scratchpad i have written some thing but its not showing the content <pre><code> UIGraphicsBeginImageContext(self.bounds.size ); [self.layer renderInContext:UIGraphicsGetCurrentContext()]; UIImage *currentScreen = UIGraphicsGetImageFromCurrentImageContext(); UIGraphicsEndImageContext(); </code></pre> <p>here am unable get the screenshot of updated scratchpad something done on scratchpad but it not showing in my screenshot ![Scratchpad screenshot][1]</p>