获取不到本地会话
[[EMClient sharedClient].chatManager getAllConversations]
和
[[EMClient sharedClient].chatManager loadAllConversationsFromDB]
都获取不到本地会话
和
[[EMClient sharedClient].chatManager loadAllConversationsFromDB]
都获取不到本地会话
没有找到相关结果
已邀请:
2 个回复
[已注销]
for (EMConversation *conversation in conversations) {
NSLog(@"conversation.conversationId===%@",conversation.conversationId);
}
或
NSArray *conversations =
[[EMClient sharedClient].chatManager loadAllConversationsFromDB];
for (EMConversation *conversation in conversations) {
NSLog(@"conversation.conversationId===%@",conversation.conversationId);
}
打印如果没有,说明您本地没有会话记录
majorTom - iDev
[[EMClient sharedClient].chatManager getAllConversations]
和
[[EMClient sharedClient].chatManager loadAllConversationsFromDB]
都获取不到本地会话数组