I have to call function calculating some thing on MainThread . When calculation process running, I can call UIProgressView to update UI.
When I just call update function, it's working but update UI at last
I use performSelectorInBackground
calling update function and it's work fine.
Why use performSelectorInBackground
can work
I have seen this What's happen if control UI by performSelectorInBackground?, but it not explain why performSelectorInBackground
working.
the sample code
https://github.com/g78101/progressViewTest