Does UIActivityIndicator require manual threading on iPhone

Posted by Akusete on Stack Overflow See other posts from Stack Overflow or by Akusete
Published on 2009-01-13T23:37:44Z Indexed on 2010/05/06 11:48 UTC
Read the original article Hit count: 232

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?

© Stack Overflow or respective owner

Related posts about iphone

Related posts about cocoa-touch