I have a Tab Bar Controller with UITableView inside. When an item is selected from the table, it pushes another View with a UITableView. What I want to achieve is when the second View has 0 rows (all rows deleted) to simulate the backBarButton behavior – to go to the previous view (the one with the Tab Bar Controller).
I have a Tab Bar Controller with UITableView inside. When an item is selected
Share
In
-viewDidAppear:If you want to go back once several rows have been deleted, you could put it into the Delegate, too: