有办法得到
- (void)beginGestureWithEvent:(NSEvent *)event
和
- (void)endGestureWithEvent:(NSEvent *)event
即使包含窗口在后台,也会调用视图?看来这些调用只有在关键时才会传递给Windows.
cocoa objective-c gesture-recognition nsview appkit
appkit ×1
cocoa ×1
gesture-recognition ×1
nsview ×1
objective-c ×1