ente/ios/Runner/AppDelegate.swift

24 lines
723 B
Swift
Raw Normal View History

2020-03-24 19:59:36 +00:00
import UIKit
import Flutter
@UIApplicationMain
@objc class AppDelegate: FlutterAppDelegate {
override func application(
_ application: UIApplication,
didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?
) -> Bool {
2021-02-06 16:11:27 +00:00
var flutter_native_splash = 1
UIApplication.shared.isStatusBarHidden = false
2020-03-24 19:59:36 +00:00
GeneratedPluginRegistrant.register(with: self)
return super.application(application, didFinishLaunchingWithOptions: launchOptions)
}
2021-10-06 14:09:17 +00:00
override func applicationDidBecomeActive(_ application: UIApplication) {
signal(SIGPIPE, SIG_IGN);
}
override func applicationWillEnterForeground(_ application: UIApplication) {
signal(SIGPIPE, SIG_IGN);
}
2021-02-06 16:11:27 +00:00
}