Reputation: 11338
my app's orientation is in landscape right. and i want to set default.png image which is loaded for few seconds at the start of my app. right now i have added default.png in my app. but its showing me image in portrait mode. what should i do ?
Upvotes: 1
Views: 2263
Reputation: 31722
Use Default-Portrait.png
and Default-Landscape.png
as image names in iPad.
Default.png
only works with one image for both orientations in iPhone
And add below in info.plist file ,if you do'nt have
<key>UISupportedInterfaceOrientations</key>
<array>
<string>UIInterfaceOrientationPortrait</string>
<string>UIInterfaceOrientationPortraitUpsideDown</string>
<string>UIInterfaceOrientationLandscapeLeft</string>
<string>UIInterfaceOrientationLandscapeRight</string>
</array>
Look at the article Default.png and landscape mode
Upvotes: 3