我在Info.plist中UISplitview不能顯示完整的與UIInterfaceOrientation〜ipad的
添加
<key>UIInterfaceOrientation~ipad</key>
<string>UIInterfaceOrientationLandscapeRight</string>
當我運行應用程序,應用程序無法顯示完整的。
爲什麼以及如何在UISplitview中完全右鍵?
我在Info.plist中UISplitview不能顯示完整的與UIInterfaceOrientation〜ipad的
添加
<key>UIInterfaceOrientation~ipad</key>
<string>UIInterfaceOrientationLandscapeRight</string>
當我運行應用程序,應用程序無法顯示完整的。
爲什麼以及如何在UISplitview中完全右鍵?
您確定Detail View未設置爲Master視圖嗎? 多數民衆贊成在你的屏幕截圖看起來像。
,你可能想改變(這也可能是一個問題):
<key>UIInterfaceOrientation~ipad</key>
到:
<key>UIInterfaceOrientation-ipad</key>
我有一個非常類似的問題,那是因爲我已經子類UISplitViewController
和意外地重寫了私有方法detailViewController
。
這是在設備上(iPad)還是在模擬器中?我們在模擬器上看到類似這樣的啓動問題,這些問題不會在設備上發生。 – zaph 2010-10-28 11:27:31
在Interface Guilder的橫向創建窗口/視圖時,我們也看到了這個問題,我們發現最好在縱向上創建所有的界面,即使它們將用於橫向。設備上的 – zaph 2010-10-28 11:30:10
...您能解釋詳細信息嗎?所以,我不能從UIInterfaceOrientationLandscapeRight開始。我創建了縱向上的所有界面......但不能以橫向格式開始 – saturngod 2010-10-29 01:43:20