// 获取群对象
YWTribe *tribe = [self.tribesArray objectAtIndex:indexPath.row];
// 发起群聊
UIViewController *VC = [[SPKitExample sharedInstance].ywIMKit makeConversationViewControllerWithTribe:tribe];
// 设置群聊界面的导航栏的右边为群的详细信息的按钮
VC.navigationItem.rightBarButtonItem = [[UIBarButtonItem alloc] initWithImage:[UIImage imageNamed:@"Circle_cell"] style:UIBarButtonItemStylePlain target:self action:@selector(tribeInfo)];
[self.navigationController pushViewController:VC animated:YES];
05-08 08:09