Just recently there was a thread about unexpected switches to main. If @ole is right, this might only be a problem in the iOS simulator.
On the other hand, if there is no guarantee that Task.detached
does not use the main thread, I consider it a no-go for anything that might block the thread for more than 1/120s. In that case I’ll continue to use dispatch queues.