From e76381c3393d284f3f8ab61930cb6b71f18b2d6b Mon Sep 17 00:00:00 2001 From: wxr <wxr@hdlchina.com.cn> Date: 星期二, 13 八月 2024 14:43:43 +0800 Subject: [PATCH] 金茂定制热水器,光伏储能,UI完成 --- 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