wxr
2020-03-13 171bf03f3664226eeff2b20ee9bd2e914b63a17d
HDL-ON_iOS/AppDelegate.cs
@@ -155,6 +155,7 @@
        public override void WillEnterForeground(UIApplication application)
        {
            SharedMethod.SharedMethod.IsBackground = false;
            BusSocket.Start(6000);
            Console.WriteLine("WillEnterForeground");
            UIApplication.SharedApplication.ApplicationIconBadgeNumber = 0;
        }
@@ -173,12 +174,12 @@
        public override bool FinishedLaunching(UIApplication application, NSDictionary launchOptions)
        {
            //AppCenter.Start("b95f7814-49fb-4345-bac5-98e70d098252", typeof(Analytics), typeof(Crashes));
            Console.WriteLine("FinishedLaunching");
            base.FinishedLaunching(application, launchOptions);
            SharedMethod.SharedMethod.sharedApp = application;
            Shared.Application.IsGpsEnable = false;
            //NSString* nsCount = [[NSLocale currentLocale] objectForKey: NSLocaleCountryCode];
            application.StatusBarStyle = UIStatusBarStyle.DarkContent;
            string nsCount = NSLocale.CurrentLocale.CountryCode;
            if (nsCount != UserConfig.Instance.CountryCode)
@@ -227,13 +228,13 @@
            {
                //RemoteInfo.Current.ReadMsgList(true);
            }
            application.StatusBarStyle = UIStatusBarStyle.Default;
            //Harpy.Harpy.SharedInstance.PresentingViewController = this.Window.RootViewController;
            //Harpy.Harpy.SharedInstance.WeakDelegate = this;
            //Harpy.Harpy.SharedInstance.AlertType = Harpy.HarpyAlertType.Skip;
            //Harpy.Harpy.SharedInstance.DebugEnabled = false;
            //Harpy.Harpy.SharedInstance.ForceLanguageLocalization = Harpy.Constants.HarpyLanguageChineseSimplified;
            Console.WriteLine("FinishedLaunching");
            return true;
        }
    }