'How can I reserve exact time background task on iOS? app is in terminated state

I want process my background task exactly time that I reserved before. and background process will be monitor gps very ranged time, it can be 15m to 23h

in Android I made these things with AlarmManager + Foreground service but in iOS, i don't know how can I do that.

Please help



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source