ContactInfo *data = [self.contacts objectAtIndex:[indexPath row]];
cell.textLabel.text = data.name;
cell.detailTextLabel.text = data.designation;
cell.accessoryType = UITableViewCellAccessoryDisclosureIndicator;
NSString *filePath = [[NSBundle mainBundle] pathForResource:data.image ofType:@"png"];
NSLog(@"%@",filePath);
UIImage *image1 = [UIImage imageWithContentsOfFile:filePath];
cell.imageView.image = image1;
return cell;
Здесь я получаю правильные данные ячейки и текстовую метку с подробным описанием, но при просмотре изображения это не так, как с другим изображением.Если кто-нибудь может посоветовать.