房间最小化

This commit is contained in:
fengshuo
2021-12-03 17:07:21 +08:00
parent 6730d83ca9
commit 95f506d03a
14 changed files with 382 additions and 2 deletions

View File

@@ -32,6 +32,8 @@
#import "RoomHostDelegate.h"
#import "RoomGuestDelegate.h"
NSString * const kRoomMiniNotificationKey = @"RoomMiniNotificationKey";
@interface XPRoomViewController ()<XPRoomProtocol, RoomHostDelegate, NIMChatroomManagerDelegate>
///
@property (nonatomic,strong) XPRoomBackContainerView *backContainerView;
@@ -223,6 +225,13 @@
[self dismissViewControllerAnimated:YES completion:nil];
}
- (void)miniRoom {
//使 view tabbar roomVC tabbar
[[NSNotificationCenter defaultCenter] postNotificationName:kRoomMiniNotificationKey object:self.roomInfo];
[self.view endEditing:YES];
[self dismissViewControllerAnimated:YES completion:nil];
}
- (XPRoomBackContainerView *)backContainerView {
if (!_backContainerView) {
_backContainerView = [[XPRoomBackContainerView alloc] initWithdelegate:self];