splash (launch image) in landscape mode?

时光怂恿深爱的人放手 提交于 2019-11-29 10:28:25

First thing is no one is gonna know from outside the application that application is gonna run in portrait or landscape.

If at all you still want to view the splash screen in landscape mode you have to design the image in such a way as we cannot change the behaviour of the splash screen.

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

hAPPY cODING...

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

I quote Apple docs as they look as of now:

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 are not supported for iPhone/iPod.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!