隐藏显示状态栏

    [[UIApplication sharedApplication] setStatusBarHidden:NO];  //或者YES

原文地址:https://www.cnblogs.com/-ios/p/5481016.html