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…
If you don’t want to use any API, insert a transparent fullscreen UIView behind your activity indicator. It’ll “eat” touches.