Is there a way turn off touch events that use a UIView class?
I’m looking in the class ref, but nothing seems to stick out.
Is there a way turn off touch events that use a UIView class? I’m
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.
Uncheck “User Interaction Enabled” in the interface designer of Xcode to disable any kind of interaction for a particular UIView. In code it is
view.userInteractionEnabled = NO;. This will also disable interaction for the subviews of that view.