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

 

分类:

技术点:

相关文章:

  • 2021-05-27
  • 2022-12-23
  • 2021-11-21
  • 2021-07-21
  • 2021-12-14
  • 2021-09-01
  • 2021-12-09
猜你喜欢
  • 2022-01-02
  • 2021-09-01
  • 2021-09-01
  • 2021-09-25
  • 2021-09-29
  • 2021-11-14
  • 2021-07-08
相关资源
相似解决方案