iOS開發 轉屏控制 (shouldAutorotate/supportedInterfaceOrientations)不起做用

需求是這樣的: 在控制器A中, 不容許轉屏, 只能是豎屏 push到控制器B以後, 容許控制器自動轉屏幕git 實現方式 正常的實現邏輯中, 只須要在控制器A中實現如下github - (BOOL)shouldAutorotate { return NO; } - (UIInterfaceOrientationMask)supportedInterfaceOrientations {
相關文章
相關標籤/搜索