Is it possible to use a blank BGTaskRequest just to get the action of the app launching and then do your processing in the main app constructs instead , eg. AppDidFinishLaunching. This way you're not constrained to the tasks time limits set out by Apple. In general, I am confused about the purpose of using the BGTasks if the app will launch and you can start doing what you want in the main code body instead.
Using a blank BGTaskRequest
This way you're not constrained to the tasks time limits set out by Apple.
This comment shows a serious misunderstanding of how iOS background execution works. I touch on this in my UIApplication Background Task Notes, where I wrote:
The amount of background execution time you get is a property of your app, not a property of the background tasks themselves.
While that comment was about the old API, the same sort of logic applies here as well.
Share and Enjoy
—
Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"