[英]Orientation issue with UITabBarController iOS
我用UITabBarController創建了xib,因為我有3個NavigationControllers用於3個視圖控制器。
我的問題是當我旋轉shouldAutorotateToInterfaceOrientation沒有調用。
誰能幫我在UITabBarContoller視圖中如何使用shouldAutorotateToInterfaceOrientation 。
提前致謝...
對於UITabBarController,如果要旋轉視圖,則必須在所有視圖控制器中從-shouldAutorotateToInterfaceOrientation
方法-shouldAutorotateToInterfaceOrientation
,否則它將不會旋轉。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.