【发布时间】:2014-02-08 04:32:58
【问题描述】:
抱歉英语不好:-(
这里我使用的是 xcode 5 和 ios7,在 pushviewcontroller 之后无法更改后退按钮的颜色。
- (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath {
ListViewController *viewList = [[ListViewController alloc] initWithNibName:@“ListViewController” bundle:nil];
[self.navigationController pushViewController: viewList animated:YES];
}
用户按下一个单元格然后 ListViewController 将出现。在导航栏中,右栏按钮出现粉红色。但没有在后栏按钮中更改颜色。请看我在下面附上链接的屏幕截图。
我们可以更改导航栏中返回按钮的颜色吗?还是应该在后退按钮中添加图片?
【问题讨论】:
-
这个颜色是ios7默认颜色,你应该只用图片替换它。
标签: ios iphone xcode uinavigationcontroller