How can I disable all Input while the UIActivityIndicatorView is spinning?
Thanks
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 call
beginIgnoringInteractionEventswhen you start the spinnerand
endIgnoringInteractionEventswhen you stop it.Just make sure your code always comes to the point where you call
endIgnoringInteractionEvents, otherwise your app will freeze (from the users point of view).