Is there any way to make MBProgressHud only active in one tab? Currently, as it runs in the highest view the tabs and rest of the UI are unresponsive.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Yes, there is – just add it to the root view controller of that tab.
Typically, that’s a navigation controller, so you might do this:
[self.navigationController.view addSubview:self.myProgressHUD];Or if you weren’t using a navigation controller, add it directly to the view of your view controller being displayed in your tab.