コンソールを使用して、リロードされるかどうかを確認し、cellForRowAtIndexPath
. これにより、テーブル ビューが一瞬動かなくなります。画像のせいだと思っていたのですが、今は問題がわかりません。どんな助けでも素晴らしいでしょう。
- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath
{
NSLog( @"Cell loading" );
static NSString *CellIdentifier = @"showVideo";
CustomVideoCell *cell = (CustomVideoCell*) [tableView dequeueReusableCellWithIdentifier:CellIdentifier];
if (cell == nil)
{
cell=[[CustomVideoCell alloc] initWithStyle:UITableViewCellStyleDefault reuseIdentifier:CellIdentifier] ;
}
NSURL *url = [NSURL URLWithString:[data objectForKey:@"profilepicture"]];
NSData *data = [NSData dataWithContentsOfURL:url];
[cell.playimage setImageWithURL:[NSURL URLWithString:[data objectForKey:@"profilepicture"]]
placeholderImage:[UIImage imageNamed:@"placeholder.png"]];
return cell;
}