[[UIApplication sharedApplication] setStatusBarHidden:YES withAnimation:UIStatusBarAnimationSlide];
该方法并不起作用,在.plist中加入
"View controller-based status bar appearance 设置为NO
时间: 2024-12-19 21:43:01
[[UIApplication sharedApplication] setStatusBarHidden:YES withAnimation:UIStatusBarAnimationSlide];
该方法并不起作用,在.plist中加入
"View controller-based status bar appearance 设置为NO