diff --git a/src/Geolocator.Plugin/Apple/GeolocatorImplementation.apple.cs b/src/Geolocator.Plugin/Apple/GeolocatorImplementation.apple.cs index de5c6a1..a2e69ef 100644 --- a/src/Geolocator.Plugin/Apple/GeolocatorImplementation.apple.cs +++ b/src/Geolocator.Plugin/Apple/GeolocatorImplementation.apple.cs @@ -492,8 +492,10 @@ CLLocationManager GetManager() void OnLocationsUpdated(object sender, CLLocationsUpdatedEventArgs e) { - foreach (var location in e.Locations) - UpdatePosition(location); + if (e.Locations.Any()) + { + UpdatePosition(e.Locations.Last()); + } // defer future location updates if requested if ((listenerSettings?.DeferLocationUpdates ?? false) && !deferringUpdates && CanDeferLocationUpdate)