The Home & Lock Screen subsystem in Apple iOS before 8 does not properly restrict the private API for app prominence, which allows attackers to determine the frontmost app by leveraging access to a crafted background app.
http://archives.neohapsis.com/archives/bugtraq/2014-09/0106.html
https://exchange.xforce.ibmcloud.com/vulnerabilities/96094