状态栏颜色

  1. //设置NavigationBar背景颜色
  2. [[UINavigationBar appearance] setBarTintColor:[UIColor redColor]];
  3. //@{}代表Dictionary
  4. [[UINavigationBar appearance] setTitleTextAttributes:@{
  5. NSForegroundColorAttributeName : [UIColor whiteColor]
  6. }];



来自为知笔记(Wiz)


posted on 2016-05-16 16:28  大魔术师  阅读(134)  评论(0编辑  收藏  举报

导航