update : ios 启动屏

This commit is contained in:
Vicky committed 2026-10-13 17:04:32 +08:00
1 parent 1e61ae7a0b
commit 14d7bd39c7
3 files changed
+19 -8

No files matched your search

+13
View File
@@ -1,6 +1,19 @@
import Flutter
import UIKit
/// Keeps the system LaunchScreen as the only splash. Flutter would otherwise
/// instantiate that storyboard again and the icon appears a second time.
final class RunnerFlutterViewController: FlutterViewController {
override func loadDefaultSplashScreenView() -> Bool {
false
}
override func viewDidLoad() {
super.viewDidLoad()
view.backgroundColor = .black
}
}
@main
@objc class AppDelegate: FlutterAppDelegate, FlutterImplicitEngineDelegate {
override func application(