注册

环信的跳转到单聊和为什么要我手动刷新才会有最新的消息

你好!!求帮忙一下..我想问下我环信已经做到了消息列表的页面..如何我想跟某个人聊天..我点击那个cell它怎么跳到单聊界面尼?还有为什么我发了信息..我接收的这一边还要手动刷新才会有最新的信息出来的...?可以帮我讲解下吗?谢谢
已邀请:
1.在消息列表的- (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath里面实现跳转方法lse {

        EaseConversationModel *model = [self.dataArray objectAtIndex:indexPath.row];

        EaseMessageViewController *viewController = [[EaseMessageViewController alloc] initWithConversationChatter:model.conversation.conversationId conversationType:model.conversation.type];

        viewController.title = model.title;

        [self.navigationController pushViewController:viewController animated:YES];
2.接收到消息回调里面调用tableViewDidTriggerHeaderRefresh刷新页面。

要回复问题请先登录注册