我有一个UINavigationController
with a UITableViewController
which has 和两个UIBarButtonItem
s:
- (void)viewDidLoad {
[super viewDidLoad];
self.navigationItem.leftBarButtonItem = self.editButtonItem;
self.navigationItem.rightBarButtonItem = [[UIBarButtonItem alloc] initWithBarButtonSystemItem:UIBarButtonSystemItemAdd target:self action:@selector(showSubscribeSheet:)];
self.navigationController.navigationBar.tintColor = [UIColor brownColor];
}
我想在处于编辑模式self.navigationItem.rightBarButtonItem
时隐藏。UITableView
我有什么办法可以做到这一点?谢谢。
我不使用笔尖。