我在单元格中是水平滚动,它创建了5-10个通过互联网加载的图像。 如何更好地做?在数组中保存图片和滚动位置的数量,或者干脆不要从内存中删除单元格? Cells to about 50. 如果不是从存储器中移除细胞,那么告诉我该怎么做呢?不要删除单元格
- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath
-(NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section
{
return [self.conteinerHotels count];
}