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.
单击扩展坞中正在运行的应用程序的图标时,我正在尝试修改默认行为。默认情况下,它将应用程序的主窗口置于前台。
我想在单击图标时执行自定义操作。
有什么想法可以实现吗?
在应用委托中实现applicationShouldHandleReopen:hasVisibleWindows:;见那里的解释。