I added a button on the uinavigationbar I want to use it to clear all the rows of uitablview
How can I do that?
Before you are reloading the table remove all objects from your tableView array (The array which populated your tableView) like so:
[myArray removeAllObjects]; [tableView reloadData];