导航栏的字体颜色的设置小收集

1 [[UITabBar appearance] setTintColor:themeColor];用来设置tabBar的字体颜色即图片选中颜色app

2 [[UINavigationBar appearance] setBarTintColor:themeColor];用来设置UINavigationBar的背景颜色;[UINavigationBar appearance].titleTextAttributes = @{NSForegroundColorAttributeName:[UIColor orangeColor]};用来设置UINavigationBar标题的颜色;self.navigationItem.rightBarButtonItem.tintColor = [UIColor orangeColor];self.navigationItem.leftBarButtonItem.tintColor = [UIColor orangeColor];用来设置navigationItem左右item的标题的颜色字体

相关文章
相关标签/搜索