Is there a way to make a UIView unresponsive AND pass through all touch events? Basically I just want to display graphics on top of other UIViews without blocking touch events.
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
The event sent to your view will go through the responder chain, if it doesn't implement any event handling method.
You could also set the userInteractionEnabled
property to NO
for that view.