LSApplicationWorkspace 在 iOS 11 中损坏

LSApplicationWorkspace Broken in iOS 11

LSApplicationWorkspace 是 iOS 中的私有 API,可让您查看设备上安装了哪些应用程序。 Apple 不允许您在提交到 App Store 时使用私有 API,但我需要此解决方案用于企业应用程序。

LSApplicationWorkspace 在 iOS 11 中损坏。headers 仍然存在,但 class 不再是 returns 产品列表。

有没有人找到让 LSApplicationWorkspace 在 iOS 11 中工作的解决方案?

不越狱是不行的。 Apple 在沙箱中添加了另一条规则,限制 LSApplicationWorkspace 的使用。您可以在系统日志中看到它。可能需要像几乎所有其他私人一样的特殊权利 API。