- (BOOL)prefersStatusBarHidden { return YES; } [self setNeedsStatusBarAppearanceUpdate]; 转载于:https://www.cnblogs.com/wlqsmiling/p/6548583.html