Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个 Mac OS X 应用程序。当我在上面堆放一些窗户时,它有一个窗户。我点击了一个不接受鼠标的地方。下面窗口中的视图响应鼠标。如何避免这种情况。谢谢
我使用方法 hitTest: 检查视图是否是窗口上最远的视图。