Collision of tables when deleting rows in UITableView - Style: section headers and footers

I have a table view supported by fetchedresultscontroller. When I delete a line that calls the bottom line of the table, to scroll up so that the TV does not fill the entire screen, I get an alarm below.

Here are the workarounds I found .

  • If I change the table that needs to be grouped, and not just - the error will disappear.
  • If I delete the section footers, the error will disappear. This is not a viable solution for me.

The error occurs after "controllerWillChangeContent" and before "controllerDidChangeContent" - here the code is simply copied / pasted using a link to the Apple FRC protocol.

Does anyone know why this is happening? Since it works great with Grouped tableview, it seems like this is more likely an Apple bug, but I thought I'd ask about it first before reporting it.

Invalid error in - [UIViewAnimation initWithView: indexPath: endRect: endAlpha: startFraction: endFraction: curve: animateFromCurrentPosition: shouldDeleteAfterAnimation: editing:], / SourceCache / UIKit_Sim / UIKit-2903.23 / UITableViewSupport.m: 1361 2014 : 29.226 workbox [7527: 70b] CoreData: error: serious application error. An exception was detected by the NSFetchedResultsController delegate during the call to -controllerDidChangeContent :. The stop fraction of the cell fragment must be greater than the initial fraction with userInfo (null)

Program example

+7
ios objective-c uitableview
source share
1 answer

I upload your project to github tested on iPad Air. I clicked on some elements and even when the application should scroll, because you have many elements, no problems / crashes at all

I tested on xCode 7.3.2 and iPad Air 9.2. Training apparatus

Could you tell with which device it worked?

0
source share

All Articles