iOS-修改导航栏文字字体和颜色

 //修改导航栏文字字体和颜色
 nav.navigationBar.titleTextAttributes = @{NSForegroundColorAttributeName:[RGBColor colorWithHexString:@"#4b95f2"],NSFontAttributeName:[UIFont boldSystemFontOfSize:20]};
    //修改导航栏颜色
 [[UINavigationBar appearance]setBarTintColor:[RGBColor colorWithHexString:@"#00E5EE"]];
原文地址:https://www.cnblogs.com/WJJ-Dream/p/5786993.html