房间分享

This commit is contained in:
liyuhua
2023-09-22 17:43:21 +08:00
parent 210124d1e5
commit 4dfc17afa5
22 changed files with 860 additions and 638 deletions

View File

@@ -103,11 +103,11 @@ UIKIT_EXTERN NSString * adImageName;
// [ShareSDK registPlatforms:^(SSDKRegister *platformsRegister) {
// ///faceBook
[ShareSDK registPlatforms:^(SSDKRegister *platformsRegister) {
///faceBook
// [platformsRegister setupFacebookWithAppkey:@"1266232494209868" appSecret:@"c9b170b383f8be9cdf118823b8632821" displayName:YMLocalizedString(@"AppDelegate_ThirdConfig0")];
// [platformsRegister setupLineAuthType:SSDKAuthorizeTypeBoth];
// }];
[platformsRegister setupLineAuthType:SSDKAuthorizeTypeBoth];
}];
}
#pragma mark -

View File

@@ -44,6 +44,9 @@ UIKIT_EXTERN NSString * const kOpenRoomNotification;
}
- (void)applicationDidEnterBackground:(UIApplication *)application {
NSInteger count = [NIMSDK sharedSDK].conversationManager.allUnreadCount;
[[UIApplication sharedApplication] setApplicationIconBadgeNumber:count];