示例#1
0
        protected override async Task StopListeningAsync()
        {
            await base.StopListeningAsync();

            if (UIDevice.CurrentDevice.CheckSystemVersion(8, 0) && CLLocationManager.LocationServicesEnabled)
            {
                _locationManager.StopMonitoringVisits();
            }
        }