I am running creating an iPhone application which performs a costly operation and I wanted to create an activityIndicator to let the user know the application has not frozen.
The operation is performed entirely in one event call... so there is no chance for the UI framework to receive control to actually display and animate this indicator.
The sample apps which use the UIActivityIndicator (or any other similar animation) start and stop the animation in different events, triggered separately at different stages of the program.
Do I need to manually create a separate thread to run my operation in, or is there already default support for this kind of behavior?