Detect other running iOS app using systcl

312 Views Asked by At

I use sysctl () function to get the process list, but is there a way to detect currently running app? My app is location based app and it runs in the background. I want to detect which app is running in foreground at certain time intervals. Is this possible at all?

I understand this kind of app behavior is forbidden by apple but I still like to try this.

0

There are 0 best solutions below