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.
我使用 sysctl() 函数来获取进程列表,但是有没有办法检测当前正在运行的应用程序?我的应用程序是基于位置的应用程序,它在后台运行。我想检测哪个应用程序在特定时间间隔在前台运行。这可能吗?
我知道苹果禁止这种应用行为,但我仍然喜欢尝试这个。