我已将 restoreIdentifier 分配给 UICollectionViewCell 的子类当应用程序移动到后台encodeRestorableState(with coder: NSCoder)
被调用时,但当应用程序恢复decodeRestorableState(with coder: NSCoder)
未被调用时。
我试图将 restoreIdentifier 分配给 UICollectionView 但它也无济于事。我应该怎么做才能让它工作?
我已将 restoreIdentifier 分配给 UICollectionViewCell 的子类当应用程序移动到后台encodeRestorableState(with coder: NSCoder)
被调用时,但当应用程序恢复decodeRestorableState(with coder: NSCoder)
未被调用时。
我试图将 restoreIdentifier 分配给 UICollectionView 但它也无济于事。我应该怎么做才能让它工作?