This article reproduced from the Han fruit blog»xcode6+ios8 horizontal screen Start screen does not display the issue of modification
Recently I do the game found Xcode6+ios8 horizontal screen under the splash screen does not display a black screen.
Set the picture that the catalog adds using after setting the horizontal screen. Under Iphone6plus is a horizontal screen to display the splash screen on other iphone devices that do not display the splash screen. The ipad also displays the splash screen. Only the iphone has a problem.
The last one was directed, I recorded.
1. If your game supports horizontal screen cutting iphone ipad is supported then start the picture you want to prepare all sizes of pictures.
2, in the Info.plist start mode with two or three, vertical screen first, horizontal screen two
3, in the program set in the Rootviewcontroller to change to return uiinterfaceorientationmasklandscape;
- (Nsuinteger) supportedinterfaceorientations{#ifdef __iphone_6_0return Uiinterfaceorientationmasklandscape; #endif }
4, appcontroller.mm [window makekeyandvisible]; This code is placed in front of the following code
if 6.0 {// Warning:addsubview doesn ' t work on iOS6[window AddSubview:viewController.view];} Else{// Use this method on IOS6[window Setrootviewcontroller: Viewcontroller];}
5, my platform is Xcode6 + cocos2dx3.1 Test 8.0 of the simulator
Xcode6+ios8 screen Start screen does not display the problem modification