title: ios 7 drawViewHierarchyInRect:afterScreenUpdates: black screen on iPad only
body: <p>I've got very weird situation... I'm trying to capture content from scroll view (which <code>contentSize</code> exceeds screen bounds three times) by calling <code>drawViewHierarchyInRect: afterScreenUpdates:</code> as below:</p>
  
  <pre><code>+ (UIImage *) imageFromScrollView: (UIScrollView *) scrollView {
  
      UIGraphicsBeginImageContext(size);
  
      [view drawViewHierarchyInRect: CGRectMake(0, 0, scrollView.contentSize.width, scrollView.contentSize.height)
                 afterScreenUpdates: YES];
  
      UIImage * image = UIGraphicsGetImageFromCurrentImageContext();
      UIGraphicsEndImageContext();  
  
      return image;  
  }
  </code></pre>
  
  <p>It works on: iPhone device, iPhone and iPad Simulator, but <strong>doesn't</strong> work on iPad <strong>device</strong>. Have you ever had similar issue? I would appreciate any help!</p>