开发者

How to toggle the Status Bar on/off?

开发者 https://www.devze.com 2023-01-17 20:43 出处:网络
I have a si开发者_高级运维tuation where I sometimes need a real fullscreen view that also covers the status bar completely. When this view is gone, I want the status bar to be visible again below it.

I have a si开发者_高级运维tuation where I sometimes need a real fullscreen view that also covers the status bar completely. When this view is gone, I want the status bar to be visible again below it. Is there a way to do this?


[[UIApplication sharedApplication] setStatusBarHidden:YES/NO withAnimation: UISatusBarAnimation];
0

精彩评论

暂无评论...
验证码 换一张
取 消