[[UINavigationBar appearance]setTintColor:[UIColor whiteColor]];
[self.navigationController.navigationBar setTitleTextAttributes:
@{NSFontAttributeName:[UIFont systemFontOfSize:17],
NSForegroundColorAttributeName:[UIColor whiteColor]}];
[[UINavigationBar appearance]setTintColor:[UIColor whiteColor]];
[self.navigationController.navigationBar setTitleTextAttributes:
@{NSFontAttributeName:[UIFont systemFontOfSize:17],
NSForegroundColorAttributeName:[UIColor whiteColor]}];
本文标题:iOS 导航栏颜色以及字体大小设置
本文链接:https://www.haomeiwen.com/subject/tbmejxtx.html
网友评论