修改云信聊天汽包尺寸计算延迟的问题

This commit is contained in:
xuemh 2018-05-19 10:50:27 +08:00
parent abdca45aa9
commit 96c7d3368f
1 changed files with 2 additions and 0 deletions

View File

@ -29,6 +29,8 @@
UITableViewCell *cell = nil;
id model = [[self.interactor items] objectAtIndex:indexPath.row];
if ([model isKindOfClass:[NIMMessageModel class]]) {
[model calculateContent:tableView.bounds.size.width force:NO];
cell = [NIMMessageCellFactory cellInTable:tableView
forMessageMode:model];
[(NIMMessageCell *)cell setDelegate:self.delegate];