ios - enable -tableView:commitEditingStyle:forRowAtIndexPath for only specific cell -
normally, when define -tableview:commiteditingstyle:forrowatindexpath, can switch cells editing mode swiping.
but, i'd enable -tableview:commiteditingstyle:forrowatindexpath specific cell.
possible?
there delegate method of table view
tableview:caneditrowatindexpath: where can define whether row can edit or not specific index path.
hope helps.
Comments
Post a Comment