Reputation: 11350
I've discovered at later stage that I need to add an "Edit button" to the top of UITableController view. what is the best way. if possible I don't want to do lots of changes to my application because it's almost done.
Upvotes: 1
Views: 221
Reputation: 4610
You can add a UIBarButtonItem to your navigation bar and invoke the editing mode of the table view in the action.
- (IBAction) edit:(id)sender {
[self.tableView setEditing:YES animated:YES];
}
Upvotes: 1