Splash (image start) in landscape mode?

I am developing a game that works only in landscape mode. When I import the startup image (Default.png) into my xcode project and run it, the image appears in portrait mode and then the preview starts in landscape mode. How can I make the image for splash / run only appear in landscape mode?

+7
ios iphone ios4
source share
2 answers

Firstly, no one will know from outside the application that the application will be launched in portrait or landscape orientation.

If you still want to view the screensaver in landscape mode, you need to create an image so that we cannot change the behavior of the screensaver.

Instead of designing the image as 320X480 , create it as 480X320 and your problem will be solved.

DOWNLOAD ENCODING ...

+8
source share

Always take pictures of sizes 320x480 and 640x960. Just name them Default.png and Default@2x.png. As Michael Kessler notes, to make them appear in the landscape, you have to rotate the graphics in your gfx editor.

I quote Apple docs as they look at the moment:

iPhone and iPod touch Portrait 320 x 480 pixels, 640 x 960 pixels (@ 2x) Landscape Not supported

IPad Portrait 768 x 1004 pixels, 1536 x 2008 pixels (@ 2x) Landscape 1024 x 748 pixels, 2048 x 1496 pixels (@ 2x)

http://developer.apple.com/library/ios/DOCUMENTATION/iPhone/Conceptual/iPhoneOSProgrammingGuide/App-RelatedResources/App-RelatedResources.html#//apple_ref/doc/uid/TP40007072-CH6-SW12

So you can see that landscape orientation of images is not supported for iPhone / iPod.

+1
source share

All Articles