I have an app that allows a user to make a selection from a UITableView
. I'm somewhat familiar with adding the ability to edit and delete them, but I was wondering if it is possible to delete the row based purely on selecting it? If so, does anyone know how the code to do so would look?
1 に答える
1
メソッド didSelectedRowAtIndexPath で、データソースから要素を削除し、tableView からセルを削除すると、問題のコードがtableView から行を削除します。
于 2013-05-31T21:34:47.187 に答える