wei
2021-10-28 270b3d8539f6b4a991a9ebf3b3a9eceb436d61d5
HDL-ON_iOS/Main.cs
@@ -1,4 +1,5 @@
using HDL_ON;
using System;
using HDL_ON;
using HDL_ON.DAL.Server;
using UIKit;
@@ -15,12 +16,11 @@
                try
                {
                    Shared.Application.LocationAction = null;
                    Shared.Application.StopGPSLocationService();
                    new HDL_ON.DAL.Server.HttpServerRequest().GetCityInfo(lon.ToString(), lat.ToString());
                    new HttpServerRequest().GetCityWeatherInfo(lon.ToString(), lat.ToString());
                }
                catch
                catch(Exception ex)
                {
                    Utlis.WriteLine("GetCityInfo catch"+ ex.Message);
                }
            };