File tree Expand file tree Collapse file tree 1 file changed +8
-8
lines changed
iOS_Tips/DarkMode/WKWebView/WebNative Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -227,10 +227,10 @@ - (void)willDisappearCellWithDirection:(BOOL)top {
227227 SLReusableCell *cell = self.visibleCells .firstObject ;
228228
229229 // 进入缓冲池后,要清空重置cell上的内容,防止下一个取出时显示之前的内容,我这里重置时用了自己的默认logo,你可以自己重绘默认时的cell内容
230- for (UIView *subView in cell.subviews ) {
231- subView.layer .contents = (__bridge id )[UIImage imageNamed: @" wsl" ].CGImage ;
232- }
233- cell.layer .contents = (__bridge id )[UIImage imageNamed: @" wsl" ].CGImage ;
230+ // for (UIView *subView in cell.subviews) {
231+ // subView.layer.contents = (__bridge id)[UIImage imageNamed:@"wsl"].CGImage;
232+ // }
233+ // cell.layer.contents = (__bridge id)[UIImage imageNamed:@"wsl"].CGImage;
234234
235235 NSHashTable * hashTable= self.reusablePool [cell.cellID];
236236 [hashTable addObject: cell];
@@ -245,10 +245,10 @@ - (void)willDisappearCellWithDirection:(BOOL)top {
245245 SLReusableCell *cell = self.visibleCells .lastObject ;
246246
247247 // 进入缓冲池后,要清空重置cell上的内容,防止下一个取出时显示之前的内容,我这里重置时用了自己的默认logo,你可以自己重绘默认时的cell内容
248- for (UIView *subView in cell.subviews ) {
249- subView.layer .contents = (__bridge id )[UIImage imageNamed: @" wsl" ].CGImage ;
250- }
251- cell.layer .contents = (__bridge id )[UIImage imageNamed: @" wsl" ].CGImage ;
248+ // for (UIView *subView in cell.subviews) {
249+ // subView.layer.contents = (__bridge id)[UIImage imageNamed:@"wsl"].CGImage;
250+ // }
251+ // cell.layer.contents = (__bridge id)[UIImage imageNamed:@"wsl"].CGImage;
252252
253253 NSHashTable * hashTable= self.reusablePool [cell.cellID];
254254 [hashTable addObject: cell];
You can’t perform that action at this time.
0 commit comments