I have a simple UICollectionView based app - one UICollectionView and a NSMutableArray based data model for simplicity.
I can delete cells with no problem via the di
I had the same issue. My app would crash when I tried to insert a cell into my UICollectionView after I had selected text in a UITextField which was placed inside a collectionViewCell. My fix was to resign the first responder before the insertion happened. Since I was using a NSFetchedResultsController to handle the updating I put this at the beginning of controllerWillChangeContent:
- (void)controllerWillChangeContent:(NSFetchedResultsController *)controller {
[[UIApplication sharedApplication].keyWindow findAndResignFirstResponder];
...
}
I found findAndResignFirstResponder from this SO answer