目录

How does an application continue to provide services after switching to the background?

When an application is switched to the background, you can request a transient task to delay the suspension or a continuous task to prevent the suspension.

Reference

Transient Task and Continuous Task