title: iOS background and images seem to not scale properly for retina display
body: <p>When using the following code: </p>
  
  <pre><code>self.view.backgroundColor = [[UIColor alloc] initWithPatternImage:[UIImage imageNamed:@"texture1.png"]];
  </code></pre>
  
  <p>The texture background of my view gets set just fine. But I can see that the images are not scaled properly for a retina display, they seem more pixelated, rather than rich in texture and color as they should be. I have had this issue with other images too, when trying to make an image the size of the iphone 5 screen fade away, only a part of it would be seen, and the rest would be cut off, even though the resolution is fine. Any idea what I am missing here?</p>
  
  <p>EDIT: Does it have to do with the default dpi of the images that I am using?</p>
  
  <p>EDIT #2: Here is a screenshot:
  <img src="https://i.stack.imgur.com/Y5oAu.png" alt="enter image description here"></p>
  
  <p>On a side note, does anyone know if good background texture sources besides <a href="http://subtlepatterns.com/" rel="nofollow noreferrer">http://subtlepatterns.com/</a>?</p>
  
  <p>EDIT #3: Here is a good example of me attempting to use the ios-linen pattern
  <img src="https://i.stack.imgur.com/Ml9Co.png" alt="enter image description here"></p>