问题描述
本来我以为是设置代理,不过我查看了chatManager并没有设置代理的功能, 只看到了这个方法:,但我用了方法后,没任何效果,代理方法也没有被调用: - (void)addDelegate:(id<EMChatManagerDelegate>)delegate delegateQueue:(dispatch_queue_t)queue;
解决方案
- (void)didAutoLoginWithInfo:(NSDictionary *)loginInfo error:(EMError *)error;- (void)willAutoLoginWithInfo:(NSDictionary *)loginInfo error:(EMError *)error;
时间: 2024-08-28 06:01:29