From c5e51c0ec3cbf1016f3bfbd58b0f0a004aaa9900 Mon Sep 17 00:00:00 2001 From: 杨锴 <841720330@qq.com> Date: 星期二, 18 二月 2025 17:58:45 +0800 Subject: [PATCH] fix --- XQMuse/AppDelegate.swift | 14 -------------- 1 files changed, 0 insertions(+), 14 deletions(-) diff --git a/XQMuse/AppDelegate.swift b/XQMuse/AppDelegate.swift index 114c2b9..571b192 100644 --- a/XQMuse/AppDelegate.swift +++ b/XQMuse/AppDelegate.swift @@ -15,7 +15,6 @@ func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool { - removeLaunchScreenCacheIfNeeded() WeChatTools.register(appid: WeChatAPPID, link: "https://app.xqzhihui.com/app/") return true } @@ -72,19 +71,6 @@ func onResp(_ resp: BaseResp) { - } - - func removeLaunchScreenCacheIfNeeded() { - let filePath = NSHomeDirectory() + "/Library/SplashBoard" - - if FileManager.default.fileExists(atPath: filePath) { - do { - try FileManager.default.removeItem(atPath: filePath) - print("清除LaunchScreen缓存成功") - } catch { - print("清除LaunchScreen缓存失败") - } - } } } -- Gitblit v1.7.1