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

Popular posts from this blog

python 3 IndexError: list index out of range -

android - How to save instance state of selected radiobutton on menu -

IF statement in MySQL trigger -