在我的iPad應用程序被限制爲UIInterfaceOrientationLandscapeRight,我由名爲默認Landscape.png & [email protected]圖像添加開機畫面,但它是在模擬器中渲染,但不在我的iPad中渲染。閃屏在iPad上不顯示,但顯示在模擬器
0
A
回答
1
所有文件名是區分大小寫的。
它們重命名爲:默認-Landscape.png & [email protected]
用大寫字母 「d」,在模擬器
它不是區分大小寫但在設備是
希望能幫助到你。快樂編碼:)
1
我假設你指的是默認圖像。
轉到目標 - 總結視圖並檢查圖像是否設置爲「啓動圖像」,並且沒有錯誤或警告(通常由於尺寸問題,您會在圖片上看到一個小的黃色標記)
- 刪除該應用從器件和模擬器
- 清潔產品
- ,並通過Xcode中重新安裝在設備上。
假設你還有一個問題,嘗試在Photoshop中打開原圖和再出口它作爲PNG 24
0
參考Automatic orientation support for iPhone and iPad apps By Apple
iPad的專用應用程序
:爲PNG格式每個支持方向創建啓動圖像。每個啓動圖像必須爲1024 x 748像素(橫向)或768 x 1004像素(縱向)。
默認啓動圖像文件:
Default-PortraitUpsideDown.png - upside-down portrait version.
Default-LandscapeLeft.png - left-oriented landscape version.
Default-LandscapeRight.png - right-oriented landscape version.
Default-Portrait.png - generic portrait version.
Default-Landscape.png - generic landscape version.
Default.png - default portrait launch. Its usage is strongly discouraged, use more specific launch images instead.For iPad launch images, do not include the status bar region.
創建啓動映像這些尺寸:
For portrait:
768 x 1004 pixels
1536 x 2008 pixels (high resolution)
For landscape:
1024 x 748 pixels
2048 x 1496 pixels (high resolution)
相關問題
- 1. 沒有圖像顯示在iPad上運行,但在模擬器
- 2. 啓動器圖標顯示在模擬器上,但不顯示在手機上
- 3. ios - UIViewController不顯示UIWebView不顯示在iPad屏幕上,但在iPhone上做的
- 4. iPhone模擬器在3.0不顯示錯誤,但顯示在2.0
- 5. 圖片顯示在iPad模擬器,但不是設備
- 6. 谷歌地圖不能顯示在Droid上,但在模擬器上顯示
- 7. iPad Pro模擬器不顯示layer.mask
- 8. 在模擬器中顯示模糊效果,但不在iPhone上
- 9. 在模擬器中顯示但不在iPhone設備上顯示的圖像
- 10. OpenGL ES 2.0在iPhone模擬器中顯示正常,但在iPhone上不顯示
- 11. 標題欄不顯示在模擬器上,但在eclipse中顯示?
- 12. Android圖標不顯示在2.2模擬器上,但顯示在1.6
- 13. 圖像不在iPad AIR上顯示,但在其他iPad上顯示
- 14. 在模擬器上顯示但在Android平板電腦上顯示的圖像
- 15. UIImageView在模擬器上顯示圖像,但在iPhone上未顯示圖像
- 16. 地圖顯示在模擬器中,但不是在手機上?
- 17. AdMob廣告在iOS模擬器中顯示,但不在iDevice上
- 18. iAds在模擬器中顯示,但不在設備上
- 19. MapContainer在InteractionDialog中顯示模擬器,但不在Android上
- 20. android模擬器不顯示顯示。 。
- 21. UIPopoverController不顯示在iPad上
- 22. fancybox滾動不顯示在iPad上,但在瀏覽器中顯示
- 23. 模擬器上顯示的佈局,但沒有完全顯示在手機上
- 24. iPhone Splash:「Default.png」顯示在模擬器上,但不是iPhone
- 25. ipad模擬器在cocos2d上顯示iphone版應用程序
- 26. repaintOpenGLD在Android模擬器上顯示
- 27. Android CTS在模擬器上顯示ShellCommandUnresponsiveException
- 28. 模擬器不顯示UILocalNotification
- 29. 有沒有辦法顯示iPad模擬器全屏?
- 30. iPad 4.3模擬器顯示黑屏與Xcode 4.3.3
得到了固定,感謝您的解決方案 –
爲Mac OS X的HFS +文件系統的默認設置是區分不敏感的。 – Petesh