礼物面板的显示基本完成
This commit is contained in:
@@ -44,6 +44,8 @@
|
||||
@property (nonatomic,strong) UIView * placeHolderView;
|
||||
///代理
|
||||
@property (nonatomic,weak) id<RoomHostDelegate> delegate;
|
||||
///送礼物的
|
||||
@property (nonatomic,weak) XPSendGiftView *giftView;
|
||||
@end
|
||||
|
||||
|
||||
@@ -80,7 +82,9 @@
|
||||
break;
|
||||
case XPRoomMenuItemType_Gift: {
|
||||
NSString * roomUid = [NSString stringWithFormat:@"%ld", [self.delegate getRoomInfo].uid];
|
||||
XPSendGiftView * giftView = [[XPSendGiftView alloc] initWithType:SendGiftType_Room uid:roomUid];
|
||||
XPSendGiftView * giftView = [[XPSendGiftView alloc] initWithType:SendGiftType_Room uid:roomUid delegate:self.delegate];
|
||||
[giftView updateMicro:[self.delegate getMicroQueue].allValues];
|
||||
self.giftView = giftView;
|
||||
[TTPopup popupView:giftView style:TTPopupStyleActionSheet];
|
||||
}
|
||||
break;
|
||||
@@ -100,6 +104,8 @@
|
||||
} else {
|
||||
self.micButton.hidden = YES;
|
||||
}
|
||||
|
||||
[self.giftView updateMicro:queue.allValues];
|
||||
}
|
||||
|
||||
#pragma mark - Private Method
|
||||
|
Reference in New Issue
Block a user