阿里百川IMSDK--自定义群聊界面

 // 获取群对象
    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];
原文地址:https://www.cnblogs.com/mafeng/p/5837146.html