私は持ってUINavigationController
いるUITableViewController
と2つ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
これはどのようにできますか?ありがとう。
ペン先は使いません。