lixiang
lixiang
试试这个: self.tableView.estimatedRowHeight = x
可是我得同时写这两句代码才行: [self.collectionView moveItemAtIndexPath:oldIndexPath toIndexPath:currentIndexPath]; [self collectionView:self.collectionView itemAtIndexPath:oldIndexPath willMoveToIndexPath:currentIndexPath];
我也遇到同样的问题,麻烦尽快看看哦💐 @JiongXing
待会弄给你哈,稍等。 @JiongXing
好像是我忘记了在kf.setImage的回调中setNeedsLayout。 ̄□ ̄|| browserCell?.imageView.kf.setImage(with: URL(string: path)!, completionHandler: { _ in browserCell?.setNeedsLayout() }) 这样写就没问题了。
配置全局变量 globals