标签:
原文:http://blog.csdn.net/chaoyuan899/article/details/13291637
tableView表格中的cell有重用机制,这是一个很好的东西,可以避免开辟很多的空间内存。但是有时候我们不想让它重用cell,,可以用以下的代码解决。
将这个代码放在:
- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath{ }这个函数中执行就好了。
例如:
标签:
原文地址:http://www.cnblogs.com/whqios/p/4543245.html