先在info.plist下添加View controller-based status bar appearance,并改为NO
然后在每个VC里面就可以通过代码设置开启或关闭
[[UIApplication sharedApplication]
setStatusBarHidden:NO
withAnimation:UIStatusBarAnimationFade];
先在info.plist下添加View controller-based status bar appearance,并改为NO
然后在每个VC里面就可以通过代码设置开启或关闭
[[UIApplication sharedApplication]
setStatusBarHidden:NO
withAnimation:UIStatusBarAnimationFade];