iOS状态栏
隐藏状态栏
#import "ViewController.h"
@interface ViewController ()
@end
@implementation ViewController
- (BOOL)prefersStatusBarHidden{
return YES;
}
- (void)viewDidLoad {
[super viewDidLoad];
// Do any additional setup after loading the view, typically from a nib.
}
@end
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
self.window.windowLevel = UIWindowLevelAlert;
return YES;
}
修改状态栏字体的颜色
http://blog.csdn.net/gaoyp/article/details/38441723
本文标题:iOS状态栏
本文链接:https://www.haomeiwen.com/subject/tznngttx.html
网友评论