UILabels and Threads
Hi all,
I've got a progress bar working while I initialise my app, and to do this, I do most of the initialisation work a different thread, while sending all the "addSubview"s etc., and the progress bar updates, to the main thread.
It's almost all working now, except for some reason the labels I create don't appear until about 5 seconds after everything else, so it would appear that their state is only catching up when some sort of flush happens?
Do I have to do the whole UILabel creation and setting properties in the main thread as well as adding it to the superview?
Is there any way of telling the UI it needs to catch up?
|