I have created a grouped table view & I had a edit button in the title bar & I can able to navigate to other page on click of every row after pressing edit button
now by using following code I have designed the grouped table view programmatically but now edit button is not working on click of a row (after pressing edit) it’s not navigating
how can I fix this?
- (void)viewDidLoad {
[super viewDidLoad];
self.navigationItem.rightBarButtonItem = self.editButtonItem;
tableView = [[UITableView alloc]initWithFrame:CGRectMake(0, 0, 320, 415)style:UITableViewStyleGrouped];
tableView.dataSource = self;
[self.view addSubview:tableView];
}
You’re missing