From eeb6f0b4bf0a81834325638401d5fa404e53db93 Mon Sep 17 00:00:00 2001 From: wxr <wxr@hdlchina.com.cn> Date: 星期四, 05 九月 2024 19:41:45 +0800 Subject: [PATCH] 金茂光伏储能,热水器;自动化,空调,地暖步进判断 --- HDL-ON_iOS/AppDelegate.cs | 14 +++++++------- 1 files changed, 7 insertions(+), 7 deletions(-) diff --git a/HDL-ON_iOS/AppDelegate.cs b/HDL-ON_iOS/AppDelegate.cs index 29f5d9e..e740d00 100644 --- a/HDL-ON_iOS/AppDelegate.cs +++ b/HDL-ON_iOS/AppDelegate.cs @@ -324,13 +324,13 @@ Console.WriteLine("鍚姩鍙嬬洘SDK寮傚父锛�"+ex.Message); } - // 娉ㄥ唽杩涘叆鍓嶅彴鐨勯�氱煡 - NSNotificationCenter.DefaultCenter.AddObserver(UIApplication.WillEnterForegroundNotification, (notification) => - { - // 鍋滄鎾斁閾冨0 - UIApplication.SharedApplication.ApplicationIconBadgeNumber = 0; - UNUserNotificationCenter.Current.RemoveAllDeliveredNotifications(); - }); + //// 娉ㄥ唽杩涘叆鍓嶅彴鐨勯�氱煡 + //NSNotificationCenter.DefaultCenter.AddObserver(UIApplication.WillEnterForegroundNotification, (notification) => + //{ + // // 鍋滄鎾斁閾冨0 + // UIApplication.SharedApplication.ApplicationIconBadgeNumber = 0; + // UNUserNotificationCenter.Current.RemoveAllDeliveredNotifications(); + //}); Console.WriteLine("FinishedLaunching"); return true; -- Gitblit v1.8.0