小编Lor*_*ren的帖子

如果窗口不是最前面的,那么获取beginGestureWithEvent/endGestureWithEvent的方法

有办法得到

- (void)beginGestureWithEvent:(NSEvent *)event
Run Code Online (Sandbox Code Playgroud)

- (void)endGestureWithEvent:(NSEvent *)event
Run Code Online (Sandbox Code Playgroud)

即使包含窗口在后台,也会调用视图?看来这些调用只有在关键时才会传递给Windows.

cocoa objective-c gesture-recognition nsview appkit

5
推荐指数
1
解决办法
1570
查看次数

标签 统计

appkit ×1

cocoa ×1

gesture-recognition ×1

nsview ×1

objective-c ×1