Browse Source

3.6.28(3)提测

100Years 1 week ago
parent
commit
209b1d313f

+ 2 - 2
AIEmoji.xcodeproj/project.pbxproj

@@ -3276,7 +3276,7 @@
 				ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
 				CLANG_ENABLE_MODULES = YES;
 				CODE_SIGN_STYLE = Automatic;
-				CURRENT_PROJECT_VERSION = 2;
+				CURRENT_PROJECT_VERSION = 3;
 				DEVELOPMENT_TEAM = 65UD255J84;
 				ENABLE_USER_SCRIPT_SANDBOXING = NO;
 				GENERATE_INFOPLIST_FILE = YES;
@@ -3315,7 +3315,7 @@
 				ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
 				CLANG_ENABLE_MODULES = YES;
 				CODE_SIGN_STYLE = Automatic;
-				CURRENT_PROJECT_VERSION = 2;
+				CURRENT_PROJECT_VERSION = 3;
 				DEVELOPMENT_TEAM = 65UD255J84;
 				ENABLE_USER_SCRIPT_SANDBOXING = NO;
 				GENERATE_INFOPLIST_FILE = YES;

+ 2 - 1
AIEmoji/Business/TSTabBarController/TSTabBarController.swift

@@ -105,7 +105,8 @@ class TSTabBarController: UITabBarController {
 
     func monitorEvent() {
         // 后台生成后,跳转到历史页面
-        NotificationCenter.default.addObserver(forName: .kAIComeInBackstage, object: nil, queue: .main) { _ in
+        NotificationCenter.default.addObserver(forName: .kAIComeInBackstage, object: nil, queue: .main) { [weak self] _ in
+            guard let self = self else { return }
             if let nav = self.viewControllers?.safeObj(At: self.selectedIndex) as? UINavigationController {
                 nav.popToRootViewController(animated: false)
             }