我正在使用使用自动布局(约束)的自定义 tableview 单元格。在那个 tableview 单元格中我添加了 UIWebView,当我滚动行时它会被击中。请帮助任何人
static NSString *cellidentifier=@"Cell";
subcell=(CTEAuctionBidNowTVCell *)[tableView dequeueReusableCellWithIdentifier:cellidentifier];
if (subcell==nil)
{
subcell =(CTEAuctionBidNowTVCell *) [[[NSBundle mainBundle] loadNibNamed:@"CTEAuctionBidNowTVCell" owner:self options:nil]objectAtIndex:0];
}
最佳答案
它会触发,因为当您滚动表格 View 时,表格 View 单元格中的 webview 也会加载 web 请求,因为滚动时请求太多,它被触发了。请在滚动时检查内存压力
关于ios - 在自定义 UITableViewCell 中添加了 webView。然后行令人震惊,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/35519722/