进入房间请求接口完善逻辑
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user