UITableView setEditing to NO doesn't change barButtonItem back
问题 I have a UITableViewController inside of a UINavigationController . I am setting the rightBarButtonItem to the editing button: self.navigationItem.rightBarButtonItem = self.editButtonItem; This works great, and after I call tableView:commitEditingStyle:forRowAtIndexPath: I programmatically change my tableView out of editing mode using: [self.tableView setEditing:NO animated:YES]; The strange thing here is, the barButtonItem still seems to be in "edit mode" as it still says "Done" like it does