アプリケーションが写真をサーバーにアップロードします。
ユーザーがアップロードする写真を選択すると、写真の情報がコア データに保存されます。を使用して写真のリストを表示するテーブルビューが作成されfetchedResultsController
ます。
テーブルビューには、進行中のアップロード、キュー内の写真、完了したアップロードのセクションがあり、ステータスに応じて更新されます。
しかし、アップロード用に別の写真セットを追加しようとすると、前のセットがまだアップロードされている間にもう一度選択すると、次のエラーが表示されます。
この後、テーブルビューは空白になります。テーブルビューに何も表示されません。
CoreData: error: Serious application error. An exception was caught from the delegate of NSFetchedResultsController during a call to -controllerDidChangeContent:. Invalid update: invalid number of rows in section 1. The number of rows contained in an existing section after the update (96) must be equal to the number of rows contained in that section before the update (62), plus or minus the number of rows inserted or deleted from that section (21 inserted, 0 deleted) and plus or minus the number of rows moved into or out of that section (0 moved in, 0 moved out). with userInfo (null)