// 获取群对象 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];
时间: 2024-10-11 16:55:16