修改了房间公屏无法发出的问题
This commit is contained in:
@@ -428,6 +428,7 @@
|
|||||||
self.graffitiView.hidden = NO;
|
self.graffitiView.hidden = NO;
|
||||||
self.graffitiView.price = info.goldPrice;
|
self.graffitiView.price = info.goldPrice;
|
||||||
self.giftBarView.drawGiftCount = 0;
|
self.giftBarView.drawGiftCount = 0;
|
||||||
|
self.graffitiView.selectUidNumber = self.userView.selectUserArray.count;
|
||||||
[[SDWebImageManager sharedManager] loadImageWithURL:[NSURL URLWithString:info.giftUrl] options:SDWebImageProgressiveLoad progress:nil completed:^(UIImage * _Nullable image, NSData * _Nullable data, NSError * _Nullable error, SDImageCacheType cacheType, BOOL finished, NSURL * _Nullable imageURL) {
|
[[SDWebImageManager sharedManager] loadImageWithURL:[NSURL URLWithString:info.giftUrl] options:SDWebImageProgressiveLoad progress:nil completed:^(UIImage * _Nullable image, NSData * _Nullable data, NSError * _Nullable error, SDImageCacheType cacheType, BOOL finished, NSURL * _Nullable imageURL) {
|
||||||
if (error == nil && image) {
|
if (error == nil && image) {
|
||||||
self.graffitiView.image = image;
|
self.graffitiView.image = image;
|
||||||
|
@@ -91,7 +91,12 @@
|
|||||||
[XCHUDTool showErrorWithMessage:@"房间公屏已关闭"];
|
[XCHUDTool showErrorWithMessage:@"房间公屏已关闭"];
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
self.inputTextView = [XPRoomSendTextView showTextView:[UIApplication sharedApplication].delegate.window delegate:self.delegate atUid:nil atNick:nil];
|
if (self.delegate.getRoomInfo.type == RoomType_Anchor) {
|
||||||
|
self.inputTextView = [XPRoomSendTextView showTextView:self.superview.superview delegate:self.delegate atUid:nil atNick:nil];
|
||||||
|
} else {
|
||||||
|
self.inputTextView = [XPRoomSendTextView showTextView:self.superview delegate:self.delegate atUid:nil atNick:nil];
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user