摘要: 1. 设置导航栏NavigationBar的背景颜色: a) setBarTintColor : 设置NagivationBar的颜色 也可以用 : [[UINavigationBar appearance] setBarTintColor:[UIColor yellowColor]]; (在UIN 阅读全文
posted @ 2017-07-08 15:24 Ficow 阅读(4030) 评论(0) 推荐(0) 编辑
摘要: 1.在 info.plist 中添加View controller-based status bar appearance,值为NO。 2.在设置状态栏的地方添加代码: UIApplication.shared.setStatusBarStyle(.lightContent, animated: f 阅读全文
posted @ 2017-07-08 15:11 Ficow 阅读(292) 评论(0) 推荐(0) 编辑