In the documented SK programming guide by Apple the first displayed scene is "executed" by this code in the ViewController:
- (void)viewWillAppear:(BOOL)animated
{
HelloScene* hello = [[HelloScene alloc] initWithSize:CGSizeMake(768,1024)];
SKView *spriteView = (SKView *) self.view;
[spriteView presentScene: hello];
}
Notice that it's a sample project for the iPad, so the view size is fixed (768, 1024). How do I set it up, so that it could scale up nicely on an iPhone 4/5 (and probably the next gen iPhone)?