I use BGTaskScheduler for a background task as described here: https://developer.apple.com/documentation/backgroundtasks/bgtaskscheduler
My question is: should this scheduled task also work after a device restart or after I manually kill the app? If not, are there another alternatives for this?