title: iPhone SDK - How to hide cameraOverlayView before using UIGetScreenImage?
body: <p>I'm trying to take a full screen image of the camera picture without having the overlay ontop.</p>
  
  <p>In my overlay controller I have tried to hide the overlay with this lines of code:</p>
  
  <pre><code>[self.view setHidden:YES];
  [self.view setNeedsDisplay];
  CGImageRef screen = UIGetScreenImage();
  UIImage* image = [UIImage imageWithCGImage:screen];
  CGImageRelease(screen);
  self.view.hidden = NO;
  </code></pre>
  
  <p>UIGetScreenImage still shows the overlay UI.</p>
  
  <p>Is there any way to make this happen? </p>