splash screen in landscape mode

1,062 views
Skip to first unread message

harish kotagiri

unread,
Sep 27, 2010, 6:34:32 PM9/27/10
to iphonesdkd...@googlegroups.com
Hi friends,
Please anyone help me how to show splash screen in landscape mode.(i.e. 480x320 size image)

--
Thanks & Regards,

Harish Kotagiri

David Phillip Oster

unread,
Sep 27, 2010, 7:36:11 PM9/27/10
to iPhone SDK Development
Remember that you don't show the splash screen, the operating system
does while its loading you into memory. That means the answer must
lie in the Info.plist file, and in fact is is documented:

Just as you have
(1) Default.png for orignal iPhone,
(2) Def...@2x.png for iPhone4, you'll have
(3) Default-Landscape.png and
(4) Default-Portrait.png for iPad.

According to http://developer.apple.com/library/ios/#qa/qa2010/qa1588.html
:
iPhone-only applications may only have one launch image

So, you just need the 4 images I've listed above. (You may have more
if you localize the images, in which case, they'll live in your
xx.lproj folders.)

On Sep 27, 3:34 pm, harish kotagiri <harish.kotag...@gmail.com>
wrote:

Anne-Lise Hassenklover

unread,
Sep 27, 2010, 7:35:57 PM9/27/10
to iphonesdkd...@googlegroups.com
Launch in landscape mode and make your Default.png be landscape.
From the docs:

How do I start my application in landscape mode?
To start your application in landscape mode, edit your
Info.plist file to add the UIInterfaceOrientation key with the appropriate value (UIInterfaceOrientationLandscapeRight or UIInterfaceOrientationLandscapeLeft), as shown in Listing 1. This provides a hint to the system to set the orientation of the status bar appropriately at launch time.

Listing 1:
Starting your application in landscape mode
<key>UIInterfaceOrientation</key>
    <string>UIInterfaceOrientationLandscapeRight</string>




From: harish kotagiri <harish....@gmail.com>
Reply-To: <iphonesdkd...@googlegroups.com>
Date: Mon, 27 Sep 2010 15:34:32 -0700
To: <iphonesdkd...@googlegroups.com>
Subject: splash screen in landscape mode
--
You received this message because you are subscribed to the Google Groups "iPhone SDK Development" group.
To post to this group, send email to iphonesdkd...@googlegroups.com.
To unsubscribe from this group, send email to iphonesdkdevelop...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/iphonesdkdevelopment?hl=en.

Reply all
Reply to author
Forward
0 new messages