I have developed an iOS app using Xcode 3.2 and I would like to release a new version of the app that supports the larger iPhone 5 screen.
I have tried the following in the Application Delegate:
[window setFrame:[[UIScreen mainScreen] bounds]];
[window addSubview:viewController.view];
[window makeKeyAndVisible];
CGRect screenBounds = [[UIScreen mainScreen] bounds];
NSLog(@"%@",[NSValue valueWithCGRect:screenBounds]);
// NSRect: {{0, 0}, {320, 480}}
As you can see the height is set to 480pt. How can I add support for the iPhone 5's taller screen?
Thanks,