开发者

Default-PortraitUpsideDown.png not loading on iPad

开发者 https://www.devze.com 2023-01-08 00:20 出处:网络
I\'m trying to get my launch screen to load with the proper orientation on the iPad. The landscape png loads fine, as does the portrait, but the upside down portrait always appears right side up (when

I'm trying to get my launch screen to load with the proper orientation on the iPad. The landscape png loads fine, as does the portrait, but the upside down portrait always appears right side up (when it's supposed to be upside down). My PNGs are named the following:

Default-Portrait.png

Default-PortraitUpsideDown.png

Default-Landscape.png

Default.png

And I have this in my plist:

<key>UIInterfaceOrientation</key>
<string>UIInterfaceOrientationPortrait</string>
<key>UISupportedInterfaceOrientations</key>     
<array>
         开发者_运维问答<string>UIInterfaceOrientationPortrait</string>
         <string>UIInterfaceOrientationPortraitUpsideDown</string>
         <string>UIInterfaceOrientationLandscapeLeft</string>
         <string>UIInterfaceOrientationLandscapeRight</string>
</array>

Is there anything else I could try? This app is written with the OpenFrameworks api, if that makes a difference. Also, I tried leaving out the Default-PortraitUpsideDown.png so the Default-Portrait image would automatically rotate but I got the same results.


If Default-PortraitUpsideDown.png is upside down from what it should be when launching, then rotate it 180degrees from it's current orientation, save the file, and that should fix your problem.

0

精彩评论

暂无评论...
验证码 换一张
取 消