Sprite kit and colorWithPatternImage
iOS working code: CGRect textureSize = CGRectMake(0, 0, 488, 650); CGImageRef backgroundCGImage = [UIImage imageNamed:@”background.png”].CGImage; UIGraphicsBeginImageContext(self.level.worldSize); // use WithOptions to set scale for retina display CGContextRef context = UIGraphicsGetCurrentContext(); CGContextDrawTiledImage(context, textureSize, backgroundCGImage); UIImage *tiledBackground = UIGraphicsGetImageFromCurrentImageContext(); UIGraphicsEndImageContext(); SKTexture *backgroundTexture = [SKTexture textureWithCGImage:tiledBackground.CGImage]; SKSpriteNode *backgroundNode = [SKSpriteNode spriteNodeWithTexture:backgroundTexture]; [self addChild:backgroundNode];