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?
Asked
Active
Viewed 68 times
0

Brian Tompsett - 汤莱恩
- 5,753
- 72
- 57
- 129

Henry F
- 4,960
- 11
- 55
- 98
1 Answers
1
In method didSelectedRowAtIndexPath delete element from datasource and than cell from tableView, there is a code for your problem delete row from tableView.
-
Thanks a lot buddy! I'll mark this as the right answer once Stack allows me to in 8 minutes. – Henry F May 31 '13 at 21:36