Hey folks I am really struggling to get my game to work for iOS 8+ it worked fine before iOS 8 but I have not updated it since then and now returned to fix it but of course it brings this problem.
Basically, when the app launches, the splash is fine, in landscape, yet the game title screen is completely truncated, like this;
The only workaround that semi-worked, was to set the device orientation in Xcode build settings to 'Portrait' and then use the following code in AppDelegate.m
CGAffineTransform transform = CGAffineTransformMakeRotation(1.57079633);
navController_.view.transform = transform;
It's a dirty fix, and the problem with it, is things such as UIAlert views, appear upside down as the app believes it is portrait!
Any idea on how to fix this?
Some further code is here;
// Create the main window
window_ = [[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]];
// Create an CCGLView with a RGB565 color buffer, and a depth buffer of 0-bits
CCGLView *glView = [CCGLView viewWithFrame:[window_ bounds]
director_ = (CCDirectorIOS*) [CCDirector sharedDirector];
navController_ = [[MyNavigationController alloc] initWithRootViewController:director_];
navController_.navigationBarHidden = YES;
// for rotation and other messages
// set the Navigation Controller as the root view controller