How to Update the UI in the background in swift?
<p>I have progress indicator that keeps track of some process. When the application moves from the background to the foreground I can see the progress animation jumping from its old position to the current value. 
I don't quite like it, so I was wondering if it was possible to update the progress to its current state just before the app becomes active? </p>