我有一个标签栏应用程序,带有一些 uinavigationcontrollers。
在我拥有的每个 VC 中:
- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation {
return (interfaceOrientation == UIInterfaceOrientationPortrait);
}
但是由于某种原因,当旋转屏幕时,状态栏会旋转,但我的其余部分保持不变。我怎样才能解决这个问题?