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); } };