I have a UITableViewController from which I am pushing a modal view controller (to add a new row to the table). While the modalViewController is up I want disable all UI updates on the UITableViewController. How do you disable view updates?
The reason I'm looking for this is because I'm noticing some odd behavior. In my modal view whenever I move from one textfield to another, updates fire on the table view that I pushed from. I'm logging the various table view delegate methods and I see:
Code:
2010-01-27 17:27:13.037 Contacts[873:207] numberOfSectionsInTableView
2010-01-27 17:27:13.037 Contacts[873:207] titleForHeaderInSection
2010-01-27 17:27:13.038 Contacts[873:207] numberOfRowsInSection
While this is not a huge deal, it is unnecessary UI processing and could become rather expensive if there are a lot of rows in the table and the UI keeps updating. I'm guessing there is a way to disable updates until my modalViewController is dismissed?