我有一个简单的UITableView使用自定义的UITableViewCells。 在UITableView的属性上设置的选项只是将样式设置为分组。 当我试图通过不同的项目向下滚动滚动是非常跳动。 我已经研究了这个相当有点看在Tricks for improving iPhone UITableView scrolling performance?和在这个网站上的一些其他问题。尽管如此,我还没有真正找到解决方案。UITableView静态滚动
编辑**** 我使用WSDL webservice将数据加载到UITableViewCells中。 单元格只有一个UITextView和三个按钮。
编辑****
-(UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath {
static NSString *CellIdentifier = @"NavigatorCell";
NewCell *cell = (NewCell *)[tableView dequeueReusableCellWithIdentifier:CellIdentifier];
if (cell == nil) {
NSArray *nib = [[NSBundle mainBundle] loadNibNamed:@"NewCell" owner:self options:nil];
cell = [nib objectAtIndex:0];
}
cell.postId = [[items objectAtIndex:indexPath.row] objectForKey:@"PostID"];
cell.post.text = [[items objectAtIndex:indexPath.row] objectForKey:@"Post"];
return cell;
}
您的tableview设置为重用单元格吗? – JeffN 2013-04-22 21:08:40
你加载到单元格中的是什么? – holex 2013-04-22 21:10:26
@ DCS123我该如何设置? – 2013-04-22 21:14:24