From bfb3d0d4879dca8c59ff287c92f5113162f3a33a Mon Sep 17 00:00:00 2001
From: wxr <wxr@hdlchina.com.cn>
Date: 星期二, 27 八月 2024 15:22:48 +0800
Subject: [PATCH] 代码备份

---
 OnPro/HDL-ON_iOS/AppDelegate.cs |   39 +++++++++++++++++++++++----------------
 1 files changed, 23 insertions(+), 16 deletions(-)

diff --git a/OnPro/HDL-ON_iOS/AppDelegate.cs b/OnPro/HDL-ON_iOS/AppDelegate.cs
index ef21e59..ad8aa06 100644
--- a/OnPro/HDL-ON_iOS/AppDelegate.cs
+++ b/OnPro/HDL-ON_iOS/AppDelegate.cs
@@ -262,22 +262,6 @@
                 {
                     Language.CurrentLanguage = "Chinese";
                 }
-                else if (NSLocale.PreferredLanguages[0].Contains("cs-"))
-                {
-                    Language.CurrentLanguage = "Czech";
-                }
-                else if (NSLocale.PreferredLanguages[0].Contains("ru-"))
-                {
-                    Language.CurrentLanguage = "russian";
-                }
-                else if (NSLocale.PreferredLanguages[0].Contains("bul"))
-                {
-                    Language.CurrentLanguage = "斜褗谢谐邪褉褋泻懈";
-                }
-                else if (NSLocale.PreferredLanguages[0].Contains("es-"))
-                {
-                    Language.CurrentLanguage = "Spanish";
-                }
                 else
                 {
                     Language.CurrentLanguage = "English";
@@ -308,8 +292,18 @@
             #endregion
 
 
+            //璁剧疆鍏ㄨ閫氱姸鎬�
+            //string systemVersion = UIKit.UIDevice.CurrentDevice.SystemVersion;
+            //string errorVersion = "16.2.0";
+            //if (systemVersion.CompareTo(errorVersion) < 0)///鍏ㄨ閫氫笉鍏煎ios16浠ヤ笂鐨勭郴缁燂紝涓嶈鍔犺浇杩欎釜鍏�
+            //{
+            //    Shared.IOS.HDLFVSDK.Video.FVapplication(application, new NSDictionary());
+            //}
             Console.WriteLine("111111111111");
+            Shared.Application.IsMusicEnable = false;
             SetCurrentLanguage();
+            //Shared.Application.FontSize = 12;
+            //Bugly.Bugly.StartWithAppId("1dc40c170a");
             //鍙栨秷EditText榛樿瀵嗙爜杈撳叆鏂瑰紡
             //Shared.Application.IsEditTextContentTypePassword = false;
             //榛樿浣跨敤鑻规柟瀛椾綋
@@ -330,6 +324,19 @@
             // check for a notification
             DealWithPushMes(launchOptions);
 
+            //if (UIApplication.SharedApplication.ApplicationIconBadgeNumber > 0)
+            //{
+            //    //RemoteInfo.Current.ReadMsgList(true);
+            //}
+            //try
+            //{
+            //    UMSdk.HDLUMSDK.InitUMSDKWithAppKey("61d56642e0f9bb492bbc3e72", "IOS");
+            //}
+            //catch(Exception ex)
+            //{
+            //    Console.WriteLine("鍚姩鍙嬬洘SDK寮傚父锛�"+ex.Message);
+            //}
+
             Console.WriteLine("FinishedLaunching");
             return true;
         }

--
Gitblit v1.8.0