- (BOOL)prefersStatusBarHidden { return YES; }

[[UIApplication sharedApplication] setStatusBarHidden:YES withAnimation:UIStatusBarAnimationFade];

plist

 

添加View controller-based status bar appearance​ NO