uitextattributetextcolor不能用
self.navigationItem.rightBarButtonItem = [[UIBarButtonItem alloc] initWithTitle:@"下一页" style: UIBarButtonItemStyleDone target:nil action:nil];
UIBarButtonItem *apperance = [UIBarButtonItem appearance];
//uitextattributetextcolor替代方法
[apperance setTitleTextAttributes:@{NSFontAttributeName:[UIFont systemFontOfSize:18],NSForegroundColorAttributeName:[UIColor orangeColor]} forState:UIControlStateNormal];