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.
我有一个在后台解释触控板事件的应用程序(适用于所有应用程序)。
我希望能够在某些时候解除鼠标与光标的关联。CGAssociateMouseAndMouseCursorPosition 仅在我的应用程序位于前台时有效。
有没有办法做到这一点?