After collectionview adds a cell, but closes the APP, how do you deal with and save the data source when you open the cell, and find that it has not been added?

after collectionview adds a cell, but closes the APP, what do you want to do with the data source when you open the cell, and find that it has not been added?

Mar.21,2021

Please describe it in detail and attach the detailed code

Menu