I have a fullscreen transparent window. When the user clicks on it I want the click to be sent to what's underneath the window. How would I do so?
Setting IgnoresMouseEvents to YES should do the trick..
- (void)setIgnoresMouseEvents:(BOOL)ignoreMouseEvents
Specifies whether the window is transparent to mouse clicks and other mouse events, allowing overlay windows.
来源:https://stackoverflow.com/questions/17950657/passing-click-through-transparent-window