iOS 退出群组失败
#pragma mark 退出群组
- (IBAction)leaveGroup:(id)sender {
[[EaseMob sharedInstance].chatManager asyncLeaveGroup:@"1461136425897"
completion:
^(EMGroup *group, EMGroupLeaveReason reason, EMError *error) {
if (!error) {
NSLog(@"退出群组成功");
}
} onQueue:nil];
}
调用异步方法退群报错:EMChatManager+Group::leaveGroup:error: -- can't leave the group:1461136425897.
群是存在的,而且当前用户不是群主。群类型为公开群,不需要验证直接加入
- (IBAction)leaveGroup:(id)sender {
[[EaseMob sharedInstance].chatManager asyncLeaveGroup:@"1461136425897"
completion:
^(EMGroup *group, EMGroupLeaveReason reason, EMError *error) {
if (!error) {
NSLog(@"退出群组成功");
}
} onQueue:nil];
}
调用异步方法退群报错:EMChatManager+Group::leaveGroup:error: -- can't leave the group:1461136425897.
群是存在的,而且当前用户不是群主。群类型为公开群,不需要验证直接加入
没有找到相关结果
已邀请:
1 个回复
Janice - 90后程序猿