进入房间请求接口完善逻辑

This commit is contained in:
fengshuo
2021-10-19 18:30:03 +08:00
parent 9327830ad9
commit 92883d25d4
15 changed files with 276 additions and 146 deletions

View File

@@ -33,7 +33,6 @@
#warning todo
#import "BaseNavigationController.h"
#import "XPRoomViewController.h"
#import "XPRoomModuleHelper.h"
@interface XPMineViewController ()<UITableViewDelegate, UITableViewDataSource, XPMineProtocol, XPMineMatchTableViewCellDelegate, XPMineHeadViewDelegate>
@@ -132,13 +131,14 @@
case XPMineItemType_Account:
{
#warning to do
[[XPRoomModuleHelper shareHelper] enterRoomVCWithRoomUid:[NSString stringWithFormat:@"%ld", self.userInfo.uid] viewController:self];
return;
XPRoomViewController * roomVC = [[XPRoomViewController alloc] init];
roomVC.roomUid = [NSString stringWithFormat:@"%ld", self.userInfo.uid];
BaseNavigationController * nav = [[BaseNavigationController alloc] initWithRootViewController:roomVC];
nav.modalPresentationStyle = UIModalPresentationFullScreen;
[self.navigationController presentViewController:nav animated:YES completion:nil];
[self presentViewController:nav animated:YES completion:nil];
return;
}
break;