iphone - When editing, `UITableView` does not call didSelectRowAtIndexPath ?? -
I have a UITableViewController
where the user should be able to edit the item I use it to enable editing:
self.navigationItem.rightBarButtonItem = self.editButtonItem;
For all of those, where we do not know where self.editButtonItem comes from, it is predefined by SDK.
Therefore, now when I press on any item, this method is called:
- (zero) tableview: (UITableView *) table view SelectionRowAtIndexPath: (NSIndexPath *) indexPath
But as soon as I have the editing button and editing active, this method is not being called.
What am I missing?
This is the rest code that is related to editing:
// Override to support conditional editing of the table view. Table view: (UITableView *) Table view can edit the audit path: (NSINxpath *) IndexPath {// Return N If you do not want the specified item to be editable, Yes come back } - (UITableViewCellEditingStyle) Table view: (UITableView *) table view editing style PhorRowAtIndexPath: (NSIndexPath *) indexPath {return UITableViewCellEditingStyleNone; } - (BOOL) TableView: (UITableView *) TableView should see the toolAditing RouteExpath: (NSIndexPath *) indexPath {return; }
Thanks for the help.
mcb
allows you to set up a valid property of UITableView Right ... Here is a reference
Comments
Post a Comment