聊天会话功能扩展
参考官网写的直接使用 EaseMessageViewController,通过 EaseMessageViewControllerDelegate 和 EaseMessageViewControllerDataSource 两个协议实现对 EaseMessageViewController 的扩展。
最好的回话列表中内容没了,用户名和时间还在的
CODE:
EaseMessageViewController *chatController = [[EaseMessageViewController alloc] initWithConversationChatter:@“8001” conversationType:EMConversationTypeChat];
chatController.delegate = self;
[self.navigationController pushViewController:chatController animated:YES];
最好的回话列表中内容没了,用户名和时间还在的
CODE:
EaseMessageViewController *chatController = [[EaseMessageViewController alloc] initWithConversationChatter:@“8001” conversationType:EMConversationTypeChat];
chatController.delegate = self;
[self.navigationController pushViewController:chatController animated:YES];
没有找到相关结果
已邀请:
1 个回复
[已注销]
* \~chinese
* 会话扩展属性
*
* \~english
* Conversation extend property
*/
@property (nonatomic, copy) NSDictionary *ext;这个是会话的扩展属相,您直接设置conversation.ext 就可以了