UINavigationController 导航颜色

 //不显示返回字
    [[UIBarButtonItem appearance] setBackButtonTitlePositionAdjustment:UIOffsetMake(NSIntegerMin, NSIntegerMin) forBarMetrics:UIBarMetricsDefault];
    //    导航字体颜色
    self.navigationController.navigationBar.titleTextAttributes = @{NSForegroundColorAttributeName:[UIColor whiteColor]};
    //    导航颜色
    self.navigationController.navigationBar.tintColor = [UIColor whiteColor];
    //    导航背景色
    self.navigationController.navigationBar.barTintColor = [UIColor colorWithRed:0x0A/255.0 green:0xAE/255.0 blue:0x78/255.0 alpha:1];
    //多余线条
    self.tableView.tableFooterView = [[UIView alloc] init];

你可能感兴趣的:(UINavigationController 导航颜色)