From ea0b1e8e5f43c5fd0a7d479e25ede3b8cbea464a Mon Sep 17 00:00:00 2001 From: wxr <wxr@hdlchina.com.cn> Date: 星期一, 02 十二月 2024 17:17:19 +0800 Subject: [PATCH] tcp;可视对讲; --- HDL-ON_iOS/AppDelegate.cs | 43 ------------------------------------------- 1 files changed, 0 insertions(+), 43 deletions(-) diff --git a/HDL-ON_iOS/AppDelegate.cs b/HDL-ON_iOS/AppDelegate.cs index 003de6d..86998b2 100644 --- a/HDL-ON_iOS/AppDelegate.cs +++ b/HDL-ON_iOS/AppDelegate.cs @@ -274,25 +274,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 if(NSLocale.PreferredLanguages[0].Contains("uk-")){ - // Language.CurrentLanguage = "Ukraine"; - //} else { Language.CurrentLanguage = "English"; @@ -322,15 +303,6 @@ }; #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"); SetCurrentLanguage(); //Shared.Application.FontSize = 12; //Bugly.Bugly.StartWithAppId("1dc40c170a"); @@ -350,24 +322,9 @@ SharedMethod.SharedMethod.sharedApp = application; //NSString* nsCount = [[NSLocale currentLocale] objectForKey: NSLocaleCountryCode]; application.StatusBarStyle = UIStatusBarStyle.DarkContent; - //window.AccessibilityNavigationStyle = UIAccessibilityNavigationStyle.Automatic; - // 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