Hi all.

I use an activity indicator in order to show, in my UIViewController, a "work 
in progress" activity.

here my code 

- (void)myMethod
{
        [[self activityElab] setHidden:NO];
        [[self activityElab] startAnimating];

        // here I call a very CPU-intensive method. 

        [[self activityElab] setHidden:YES];
        [[self activityElab] stopAnimating];
}

My problem is that nothing appear (activity indicator) when myMethod is called. 
Now if I remove (comment) the call to my "intensive activity" method all is 
working fine.

Any idea? I've tested this code both on the simulator and on a device (iPad) 
with  iOS 5.0 and iOS 6.0
My environment is Xcode 4.5.2 on OS X 10.8.2.

Thanks in advance.

Luca.
_______________________________________________

Cocoa-dev mailing list ([email protected])

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to