When I tab through the UITabBarController buttons while loading the data, I get an exception. How can I get through this problem?
How can I disable the buttons until the data is loaded, to avoid the exception being caused?
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.
You can disable and enable all of your UI with
That being said, I recommend digging down and understanding why the app crashes, as you will want to solve the problem and not hide bugs.
One quick shot: Are you doing the loading on another thread? You may only update the UI from the main thread.