房间更多操作按钮

This commit is contained in:
fengshuo
2021-12-11 18:53:07 +08:00
parent fdd50ad5d9
commit bc1da10967
20 changed files with 537 additions and 2 deletions

View File

@@ -22,7 +22,7 @@
#import "XPRoomSendTextView.h"
#import "XPSendGiftView.h"
#import "SessionListViewController.h"
#import "XPRoomMoreMenuViewController.h"
@interface XPRoomMenuContainerView ()
@@ -93,6 +93,12 @@
SessionListViewController * sessionList = [[SessionListViewController alloc] initWithType:SessionListOpenTypeRoom];
[self.delegate.getCurrentNav pushViewController:sessionList animated:YES];
}
break;
case XPRoomMenuItemType_More: {
XPRoomMoreMenuViewController * moreMenuVC = [[XPRoomMoreMenuViewController alloc] initDelegate:self.delegate];
[TTPopup popupView:moreMenuVC.view style:TTPopupStyleActionSheet];
}
break;
default:
break;
}
@@ -241,7 +247,6 @@
[_moreButton setImage:[UIImage imageNamed:@"room_menu_more"] forState:UIControlStateSelected];
_moreButton.tag = XPRoomMenuItemType_More;
[_moreButton addTarget:self action:@selector(menuButtonAction:) forControlEvents:UIControlEventTouchUpInside];
_moreButton.hidden = YES;
}
return _moreButton;
}