temp save
This commit is contained in:
@@ -91,6 +91,8 @@
|
||||
#import "XPHomePagingViewController.h"
|
||||
|
||||
#import "IAPManager.h"
|
||||
#import "RoomBoomManager.h"
|
||||
#import "RoomBoomBannerAnimation.h"
|
||||
|
||||
NSString * const kUserFirstLoginKey = @"kUserFirstLoginKey";
|
||||
NSString * const kHadLaunchApp = @"kHadLaunchApp";
|
||||
@@ -157,7 +159,8 @@ UIKIT_EXTERN NSString *kTabShowAnchorCardKey;
|
||||
[[NIMSDK sharedSDK].chatManager addDelegate:self];
|
||||
[[NIMSDK sharedSDK].systemNotificationManager addDelegate:self];
|
||||
[[NIMSDK sharedSDK].broadcastManager addDelegate:self];
|
||||
|
||||
|
||||
|
||||
[self networkReachability];
|
||||
[self.view addSubview:self.roomMineView];
|
||||
|
||||
@@ -177,6 +180,16 @@ UIKIT_EXTERN NSString *kTabShowAnchorCardKey;
|
||||
[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(showNewUserRecharge) name:kNewUserRechargeKey object:nil];
|
||||
[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(showAnchorCardKey:) name:kTabShowAnchorCardKey object:nil];
|
||||
[[NSNotificationCenter defaultCenter]addObserver:self selector:@selector(switchLanguage:) name:@"kSwitchLanguage" object:nil];
|
||||
|
||||
|
||||
[[RoomBoomManager sharedManager] registerBoomBanner:^(id _Nonnull sth) {
|
||||
// @kStrongify(self);
|
||||
dispatch_async(dispatch_get_main_queue(), ^{
|
||||
[RoomBoomBannerAnimation display:[UIApplication sharedApplication].keyWindow with:sth tapToRoom:YES complete:^{
|
||||
|
||||
}];
|
||||
});
|
||||
} target:self];
|
||||
}
|
||||
|
||||
-(void)switchLanguage:(NSNotification *)not{
|
||||
@@ -621,7 +634,9 @@ UIKIT_EXTERN NSString *kTabShowAnchorCardKey;
|
||||
if(![partitionId isEqualToString:self.userInfo.partitionId]){
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
NSLog(@" --- Broadcast Message Raw Attach Content: %@", msgDictionary);
|
||||
|
||||
// MARK: 要复查这里的 if else 嵌套
|
||||
if (attachment.first == CustomMessageType_RedPacket) {
|
||||
[self receiveRedPacketDealWithData:attachment];
|
||||
|
Reference in New Issue
Block a user