
IM即时通讯
安全可靠、全球互通

实时音视频
流畅稳定、省钱省力
回答:
可以在 AppDelegate 中使用下面代码对全局导航栏进行设置,代码中的颜色可以依照自己的需要修改。
//统一导航条样式 UIFont *font = [UIFont systemFontOfSize:19.f]; NSDictionary *textAttributes = @{ NSFontAttributeName : font, NSForegroundColorAttributeName : [UIColor whiteColor] }; [[UINavigationBar appearance] setTitleTextAttributes:textAttributes]; [[UINavigationBar appearance] setTintColor:[UIColor whiteColor]]; [[UINavigationBar appearance] setBarTintColor:[UIColor colorWithHexString:@"0195ff" alpha:1.0f]];
RCIM 类中有下面的属性,可以设置导航栏字体的颜色。
/** * 导航按钮字体颜色 */ @property(nonatomic) UIColor *globalNavigationBarTintColor;
有些界面的返回是自定义的按钮,返回箭头是白色的图片,如果要更改成别的颜色请更新 RongCloud.bundle 中的 navigator_btn_back 图标