How can I implement a button on the navigation bar whereby the user would be able to reorder & delete rows of a UITableView?
Do I have to create my own toolbar button to have the Edit/Done button for my UITableView?
iphoneuitableview
How can I implement a button on the navigation bar whereby the user would be able to reorder & delete rows of a UITableView?
Do I have to create my own toolbar button to have the Edit/Done button for my UITableView?
Best Answer
Just add this line in
viewDidLoad
of yourUITableViewController
It will work if your table view superview is
UINavigationController
. This line will add button that will push table in edit mode and out of it.