Question:
How do I hide/show the status bar?
Answer:
[[UIApplication sharedApplication] setStatusBarHidden:YES animated:NO]];
本文介绍了一种在iOS应用中通过UI控制来实现状态栏的隐藏与显示的方法。使用[[UIApplication sharedApplication] setStatusBarHidden:YES animated:NO]代码可以方便地切换状态栏的可见性。
Question:
How do I hide/show the status bar?
Answer:
[[UIApplication sharedApplication] setStatusBarHidden:YES animated:NO]];

被折叠的 条评论
为什么被折叠?