我想运行一个守护进程来监控这个事件,如何获得这个事件?通知?
最佳答案
有一个 FSEvents API,它看起来像您需要的东西:https://developer.apple.com/library/mac/#documentation/Darwin/Conceptual/FSEvents_ProgGuide/Introduction/Introduction.html
关于objective-c - 有什么方法可以监控 Mac 上的新应用程序安装事件吗?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/14058387/