2011-08-12 55 views
0

我正在開發一個僅在LandScape模式下的應用程序。在我的應用程序中,我使用了啓動屏幕圖像(480 X 320)。當我運行Xcode時,Splash圖像僅以縱向模式顯示,但視圖僅處於LandScape模式。在橫向模式下啓動屏幕

任何人都可以建議如何在LandScape模式下實施splah Screen。 在此先感謝。

回答

2

請編輯您的Info.plist文件以添加具有適當值(UIInterfaceOrientationLandscapeRight或UIInterfaceOrientationLandscapeLeft)的UIInterfaceOrientation鍵,如ListABC中所示。這爲系統提供了一個提示,在啓動時適當地設置狀態欄的方向。

ListABC:在橫向模式下

UIInterfaceOrientation啓動應用程序 UIInterfaceOrientationLandscapeRight

這個鏈接將幫助您

http://groups.google.com/group/iphonesdkdevelopment/browse_thread/thread/ef734379136f09e9?pli=1

相關問題