In my project in one view, I want to make the whole view disabled except for one button , so I use
[self.view setUserInteractionEnabled:NO]
Since I have many components, it is difficult to enable and disable each component, so I use it.
But I want to enable one button, there are many buttons.
source share