// 获取群对象
    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];

 

版权声明:本文为mafeng原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。
本文链接:https://www.cnblogs.com/mafeng/p/5837146.html