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 | 27 ++++++++++----------------- 1 files changed, 10 insertions(+), 17 deletions(-) diff --git a/OnPro/HDL-ON_iOS/AppDelegate.cs b/OnPro/HDL-ON_iOS/AppDelegate.cs index a3c0a1b..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"; @@ -316,9 +300,10 @@ // Shared.IOS.HDLFVSDK.Video.FVapplication(application, new NSDictionary()); //} Console.WriteLine("111111111111"); + Shared.Application.IsMusicEnable = false; SetCurrentLanguage(); //Shared.Application.FontSize = 12; - Bugly.Bugly.StartWithAppId("1dc40c170a"); + //Bugly.Bugly.StartWithAppId("1dc40c170a"); //鍙栨秷EditText榛樿瀵嗙爜杈撳叆鏂瑰紡 //Shared.Application.IsEditTextContentTypePassword = false; //榛樿浣跨敤鑻规柟瀛椾綋 @@ -343,6 +328,14 @@ //{ // //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