Ios swift – Is it guaranteed that tasks in DispatchQueue or OperationQueue will complete when switching back to the app later, assuming the app was not terminated
I'm determining to use DispatchQueue, DispatchQueue.global() or OperationQueue to run code in background thread in my app. Let's say I queue some tasks on these queues and then switch to another app or lock screen for a while, which results…