1
A
回答
0
它發生在我身上時,我支持風景和肖像,但在viewcontrollers「supportedInterfaceOrientations」的方法,我返回「UIInterfaceOrientationMaskPortrait」
- (NSUInteger)supportedInterfaceOrientations {
return UIInterfaceOrientationMaskPortrait;
}
這個固定對我來說:
- (NSUInteger)supportedInterfaceOrientations {
return UIInterfaceOrientationMaskAll;
}
相關問題
- 1. Javascript動作將滑塊滑動到左側或右側
- 2. 從左側滑動撥動
- 3. 動畫div從右側滑動
- 4. iPad可滑動右側
- 5. 滑動至左側
- 6. 如何移動/從左邊的圖像滑動到右側
- 7. 動畫移動到左側和右側?
- 8. Codename one:使可滑動的容器僅滑動到左側
- 9. 左側滑動視圖
- 10. 關閉Snackbar左側滑動
- 11. 的Jquery滑動至左側
- 12. Android ListView - 從右側滑動子視圖?
- 13. 從左側滑入寬度:自動
- 14. jQuery的:滑動切換到左側
- 15. 從左側滑動將所有內容推送到下一行
- 16. 單元格下移到右側單元格滑動刪除UITableView
- 17. 反應原生滑動垂直滾動瀏覽到左側和右側
- 18. 滑動菜單 - 從右到左
- 19. css從右到左滑動門
- 20. 從左到右滑動圖像
- 21. 水平滑動(從左到右)
- 22. 動畫從右側和左側查看
- 23. jquery從右側滑出div
- 24. 左右滑動的Android滑動菜單
- 25. jQuery:向左滑動並向右滑動
- 26. GWT滑動側板
- 27. Android:從左到右從左到右滑動
- 28. UITableView區分從左到右和從右到左滑動
- 29. 爲ImageView設置動畫,使其從滑動的另一側開始滑動
- 30. 模擬左/右滑動動畫轉換
需要看到一些代碼來診斷問題。請粘貼您的popViewController代碼 –
固定。 UIController應該實現 - (BOOL)shouldAutorotateToInterfaceOrientation :(UIInterfaceOrientation)toInterfaceOrientation –
謝謝任何方式@Peter Andersen –