Run Interval in background IOS

So here’s what I’m trying to do…

I’m using foreground and background location tracking for my app. When the user is moving above a certain speed, I’m timing them. The way I time them is by running an interval that increments the count every 1 second. When the app is in the background everything works fine on Android but after a couple minutes running in the background iOS kills the interval.