iOS 8 - How to determine the foreground app as well as get list of running apps

时光总嘲笑我的痴心妄想 提交于 2019-12-09 08:49:08

问题


On iOS 7.0 and below, SBFrontmostApplicationDisplayIdentifier from the Springboard framework specified the app running in the foreground, but that capability has been blocked (considered as a vulnerability, see the Common Vulnerabilities and Exposures page dedicated to it here) in iOS 8.

Does anyone have an iOS 8 alternative for this?


回答1:


It is not possible to do it on iOS 8 since a vulnerability was discovered. More info here: http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2014-4361



来源:https://stackoverflow.com/questions/26161001/ios-8-how-to-determine-the-foreground-app-as-well-as-get-list-of-running-apps

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!