I am executing the background process for my app. During my research, I understood that there would be no guarantee it would execute (based on the system mode, like battery saver, memory management, etc..). But if it is executing, can I schedule a new background process inside the task completion? Is it a bad practice? I have followed this article article link for to achieve that. During my testing, the background processing task was executed twice in 3 hours. However, my lead is not allowing me to schedule new background processing after the task is completed. Does iOS allow us to schedule a new background process after one another?
Also if I give task.setTaskCompleted(success: false)
, will the background process initiate again without scheduling a new background process?
感谢您的帮助。