I am disabling and enabling a view using the following code….
[self.view setUserInteractionEnabled:NO];
[self.view setUserInteractionEnabled:YES];
If I do like this, all it subviews also got affected… All are disabled, how do I do only for particular view? Is it possible?
It’s exactly the same, assuming your other view is either a member or you can iterate through
self.view‘s array of subviews, like so:MyViewController.h
MyViewController.m
OR: