1

I am showing activity indicator while getting data from web service and I want to disable all the controls at that time when activity indicator is loading even navigation bar also. I have also set

   [self.view setUserInteractionEnabled:NO];
     [self.navigationController.navigationBar setUserInteractionEnabled:NO];
     [searchingBar setUserInteractionEnabled:NO];

but it is not working properly.. Any body knows how can I disable all the controls at the time of activityindicator loading;

thanks...

4

2 に答える 2

0

CocoaControlsまたはGitHubにあるSVProgressHudを使用するだけです。

于 2012-05-31T15:39:46.397 に答える
0

If you don't want to use any API, insert a transparent fullscreen UIView behind your activity indicator. It'll "eat" touches.

于 2012-05-31T18:21:00.800 に答える