|
|
@ -7,9 +7,15 @@ import UIKit |
|
|
_ application: UIApplication, |
|
|
_ application: UIApplication, |
|
|
didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]? |
|
|
didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]? |
|
|
) -> Bool { |
|
|
) -> Bool { |
|
|
|
|
|
application.applicationIconBadgeNumber = 0 |
|
|
GeneratedPluginRegistrant.register(with: self) |
|
|
GeneratedPluginRegistrant.register(with: self) |
|
|
return super.application(application, didFinishLaunchingWithOptions: launchOptions) |
|
|
return super.application(application, didFinishLaunchingWithOptions: launchOptions) |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
override func applicationDidBecomeActive(_ application: UIApplication) { |
|
|
|
|
|
application.applicationIconBadgeNumber = 0 |
|
|
|
|
|
super.applicationDidBecomeActive(application) |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
// 添加URL回调监听 |
|
|
// 添加URL回调监听 |
|
|
override func application( |
|
|
override func application( |
|
|
|