房间vc添加启动方法

This commit is contained in:
zu
2021-10-29 18:17:27 +08:00
parent 84f944b6da
commit dd71c36e72
4 changed files with 27 additions and 17 deletions

View File

@@ -130,11 +130,8 @@
break;
case XPMineItemType_Account:
{
XPRoomViewController * roomVC = [[XPRoomViewController alloc] init];
roomVC.roomUid = [NSString stringWithFormat:@"%d", 1004587];
BaseNavigationController * baseNav = [[BaseNavigationController alloc] initWithRootViewController:roomVC];
baseNav.modalPresentationStyle = UIModalPresentationFullScreen;
[self presentViewController:baseNav animated:YES completion:nil];
NSString* roomUid = [NSString stringWithFormat:@"%d", 1004587];
[XPRoomViewController openRoom:roomUid viewController:self];
return;
XPMineRechargeViewController * rechargeVC = [[XPMineRechargeViewController alloc] init];
[self.navigationController pushViewController:rechargeVC animated:YES];