From c2cae389c932a9ab2c03d67d0276376655f26343 Mon Sep 17 00:00:00 2001
From: wxr <wxr@hdlchina.com.cn>
Date: 星期二, 06 八月 2024 14:17:04 +0800
Subject: [PATCH] OnPro(安卓/IOS)可视对讲 TCP UDP连接选择 ;自动切换服务器

---
 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