update : ios 启动屏
This commit is contained in:
1 parent
1e61ae7a0b
commit
14d7bd39c7
3 files changed
+19
-8
No files matched your search
@@ -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(
|
||||
|
||||
Reference in new issue
Block a user