本文共 204 字,大约阅读时间需要 1 分钟。
在要隐藏状态栏的代码处加入代码
[[UIApplication sharedApplication] setStatusBarHidden:YES withAnimation:UIStatusBarAnimationNone];