关于 iOS 13 Multiple methods named

2019-09-25  本文已影响0人  iOS门三闫

把代码:

NSInteger numberOfBeforeSection = [_update[@"oldModel"] numberOfItemsInSection:updateItem.indexPathBeforeUpdate.section];

替换成:

NSInteger numberOfBeforeSection =[(UICollectionView *)_update[@"oldModel"]numberOfItemsInSection:updateItem.indexPathBeforeUpdate.section];

上一篇 下一篇

猜你喜欢

热点阅读