设置导航条字体 .保留返回箭头.设置箭头颜色

//1.去掉back 方法

[[UIBarButtonItem appearance] setBackButtonTitlePositionAdjustment:UIOffsetMake(0, -60) forBarMetrics:UIBarMetricsDefault];

// 2.设置箭头颜色的方法

[self.navigationController.navigationBar setTintColor:[UIColor redColor]];

你可能感兴趣的:(设置导航条字体 .保留返回箭头.设置箭头颜色)