摘要: 在Mac系统中处理View的鼠标进入,退出以及移动事件时,需要把捕获的区域设置为view的bounds 不能设置为frame。 1 self.trackingArea = [[[NSTrackingArea alloc] initWithRect:self.bounds options:NSTrac 阅读全文
posted @ 2020-09-12 10:49 爱学习的绿叶 阅读(344) 评论(0) 推荐(0) 编辑