1and2papa / CTAssetsPickerController

iOS control that allows picking multiple photos and videos from user's photo library.
MIT License
2.15k stars 550 forks source link

Crash on Fatal Exception NSInternalInconsistencyException #252

Open AlphaJian opened 6 years ago

AlphaJian commented 6 years ago

There is a crash on Fabric that "Invalid update: invalid number of items in section 0. The number of items contained in an existing section after the update (589) must be equal to the number of items contained in that section before the update (589), plus or minus the number of items inserted or deleted from that section (0 inserted, 1 deleted) and plus or minus the number of items moved into or out of that section (0 moved in, 0 moved out)."

It crash on CTAssetsGridViewController.m line 374 __52-[CTAssetsGridViewController photoLibraryDidChange:]_block_invoke

It seems that user delete a photo but datasource did't update? please help