1.修复启动过慢的体验;

2.修复子线程刷新UI问题
This commit is contained in:
bluesea 2024-03-22 14:48:16 +08:00
parent b6b0f76011
commit 5ee2bd8da3
3 changed files with 7 additions and 2 deletions

View File

@ -24,8 +24,10 @@ class AppDelegate: UIResponder, UIApplicationDelegate {
var root:RootManager? var root:RootManager?
func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool { func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool {
Task {
FirebaseApp.configure() FirebaseApp.configure()
}
SVProgressHUD.setDefaultStyle(.dark) SVProgressHUD.setDefaultStyle(.dark)
self.window = UIWindow(frame: UIScreen.main.bounds) self.window = UIWindow(frame: UIScreen.main.bounds)

View File

@ -266,12 +266,15 @@ class CCSpaceAlbumFliterPopView: UIView {
} }
} }
self.listCollectView.reloadData()
} }
self.listCollectView.reloadData()
print("sss"); print("sss");
} }
} }
func dealPhoto(asset:PHAsset){ func dealPhoto(asset:PHAsset){