Detect which app is in foreground on iOS9 without jailbreak
问题 I'm trying to log users individual app usage on iOS9. I'd rather prefer that it wouldn't use jailbreak limited solutions , self explanatory. Doing the variation of this app on a jailbroken phone shouldn't be hard. This will certainly not be released on the App Store as Apple wouldn't allow it. I'm looking for any private API that can do this, any hidden iOS API's that can be used to do this. ANYTHING. What I've already looked through: how to determine which apps are background and which app