问题
I have a loading overlay which is supposed to block all the AppKit Controls off untill loading is done. However the view seems to be passing all the mouse events to the underlying layers. How to disable that?
回答1:
I suggest using a child window instead.
来源:https://stackoverflow.com/questions/3522410/nsview-overlay-passes-mouse-events-to-underlying-subviews