iOS下状态栏颜色设置
2016-08-29 本文已影响55人
brance
step 1:在Appdelegate.m里面加入[[UIApplication sharedApplication] setStatusBarStyle:UIStatusBarStyleLightContent]
step 2:去info.plist文件里面设置View controller–based status bar appearance 为NO.
效果图如下:
step 1:在Appdelegate.m里面加入[[UIApplication sharedApplication] setStatusBarStyle:UIStatusBarStyleLightContent]
step 2:去info.plist文件里面设置View controller–based status bar appearance 为NO.
效果图如下: