titleForHeaderInSection is not updating Section Header information correctly

Posted by Jim on Stack Overflow See other posts from Stack Overflow or by Jim
Published on 2010-05-22T21:50:08Z Indexed on 2010/05/22 22:00 UTC
Read the original article Hit count: 183

Filed under:
|
|

I have two tableviews where one navigates to the next. Both use more or less the same code and use the managedObjectContext and FetchedResultsController design pattern to provide the relevant data for both tables.

My problem happens when I navigate from the first to the second tableview and the data has only one Section Header / Row in the tableview. The data will then not update Section Header information. It does when there is more than one row but not if there is only one row. It leaves the information from the first attempt in place. I can confirm the row data is correct so the relevant data should be being passed to the Section Header correctly but it isn't.

Has anyone else come across this problem?

© Stack Overflow or respective owner

Related posts about iphone

Related posts about uitableview