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.
我在 Swift 中创建了一个简单的 macOS 应用程序项目。该应用程序使用自定义图像更改 NSCursor 图像。这很好用,但只要我点击不同的应用程序,例如 Safari,macos 就会恢复默认系统光标。
有没有办法禁用这种行为?我的目标是在我的应用程序运行时保持自定义光标,而不仅仅是在它集中时。
谢谢!