1.0.19 feat:基本完成所有需求 & bug fix
This commit is contained in:
@@ -626,7 +626,8 @@ UIKIT_EXTERN NSString *kTabShowAnchorCardKey;
|
||||
if (attachment.first == CustomMessageType_RedPacket) {
|
||||
[self receiveRedPacketDealWithData:attachment];
|
||||
} else if (attachment.first == CustomMessageType_Gift && attachment.second == Custom_Message_Sub_Gift_ChannelNotify){///广播 年度飘屏
|
||||
[self receiveBroadcastGift:attachment];
|
||||
// MARK: 房间外不显示
|
||||
// [self receiveBroadcastGift:attachment];
|
||||
}else if(attachment.first == CustomMessageType_Version_Update && attachment.second == Custom_Message_Version_Update_Value){
|
||||
NSString *osValue = attachment.data[@"updateOs"];
|
||||
if([osValue isEqualToString:@"ios"] && [AccountInfoStorage instance].getUid.length > 0){
|
||||
@@ -824,9 +825,21 @@ UIKIT_EXTERN NSString *kTabShowAnchorCardKey;
|
||||
itemVc.tabBarItem.selectedImage = [[UIImage imageNamed:selectedImageURL] imageWithRenderingMode:UIImageRenderingModeAlwaysOriginal];
|
||||
}
|
||||
|
||||
// if ([imageURL hasPrefix:@"http"]) {
|
||||
// itemVc.tabBarItem.image = [[[ClientConfig shareConfig] tabNormalImageImage:index] imageWithRenderingMode:UIImageRenderingModeAlwaysOriginal];
|
||||
// }
|
||||
if ([imageURL hasPrefix:@"http"]) {
|
||||
UIImage *downloadedImage = [[ClientConfig shareConfig] tabNormalImageImage:index];
|
||||
if (downloadedImage) {
|
||||
itemVc.tabBarItem.image = [downloadedImage imageWithRenderingMode:UIImageRenderingModeAlwaysOriginal];
|
||||
} else {
|
||||
itemVc.tabBarItem.image = [[UIImage imageNamed:imageURL] imageWithRenderingMode:UIImageRenderingModeAlwaysOriginal];
|
||||
}
|
||||
|
||||
downloadedImage = [[ClientConfig shareConfig] tabSelectedImageImage:index];
|
||||
if (downloadedImage) {
|
||||
itemVc.tabBarItem.selectedImage = [downloadedImage imageWithRenderingMode:UIImageRenderingModeAlwaysOriginal];
|
||||
} else {
|
||||
itemVc.tabBarItem.selectedImage = [[UIImage imageNamed:imageURL] imageWithRenderingMode:UIImageRenderingModeAlwaysOriginal];
|
||||
}
|
||||
}
|
||||
|
||||
BaseNavigationController *nav = [[BaseNavigationController alloc] initWithRootViewController:itemVc];
|
||||
return nav;
|
||||
|
Reference in New Issue
Block a user