title: iOS light linen background?
body: <p>I really want to know if there's a way to get iOS's light linen background.  Here's what it looks like:
  <img src="https://i.stack.imgur.com/wGuhh.jpg" alt="ios maps app open with menu open, map looks like a pealed up piece of paper. It is on an iPhone running a version of iOS before ios6"></p>
  
  <p>Is there a way to access this by merely using the built-in SDK?  Or do I have to find an image like this somewhere?</p>
  
  <hr>
  
  <p><strong>EDIT:</strong> I didn't want to use private APIs, so here's what I did.  I grabbed the image this way:</p>
  
  <pre><code>CGRect rect = CGRectMake(0.0f, 0.0f, 640.0f, 960.0f);
  UIGraphicsBeginImageContext(rect.size);
  CGContextRef context = UIGraphicsGetCurrentContext();
  CGContextSetFillColorWithColor(context, [[UIColor underPageBackgroundColor] CGColor]);
  CGContextFillRect(context, rect);
  UIImage *image = UIGraphicsGetImageFromCurrentImageContext();
  UIGraphicsEndImageContext();
  
  NSArray *paths = NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES);
  NSString *documentsDirectory = [paths objectAtIndex:0];
  NSString *imagepath = [documentsDirectory stringByAppendingPathComponent:@"underPageBackground.png"];
  [UIImagePNGRepresentation(image) writeToFile:imagepath atomically:YES];
  </code></pre>
  
  <p>And here is the resulting png in retina resolution: (click on thumbnail to open)</p>
  
  <p><a href="https://dzwonsemrish7.cloudfront.net/items/2C1j3F010I1R2M031P39/underPageBackground.png?v=9253a8bd" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/TE1sT.png" alt="click for full resolution"></a></p>
  
  <p>Hope this is useful to someone. :)</p>