title: iOS Spritekit load a large background image
body: <p>I currently am working on a Spritekit game where I need to load a background image.  I have a simple 1920x1200 space background image that I am using. The app is being developed for iPad and iPhone.  Here's the problem:</p>
  
  <p>when I don't have a background, the FPS is around 32, which is okay I guess for an iPad.  </p>
  
  <p><a href="https://i.stack.imgur.com/YorMT.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/YorMT.png" alt="enter image description here"></a></p>
  
  <p>But when I do add a background as a SKSpriteNode, the fps drops to around 9fps, which is extremely laggy.</p>
  
  <p><a href="https://i.stack.imgur.com/E9AAa.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/E9AAa.jpg" alt="enter image description here"></a></p>
  
  <p>I have looked into "tiling" the image, but I have had no success so far because there are no repeating tiles.  </p>
  
  <p>Is there a way to have SpriteKit dynamically resize or crop the image? </p>
  
  <p>How should I deal with this problem?</p>