简体   繁体   English

iOS应用程序是否有可能列出其他已安装应用程序?

[英]Is it possible for an iOS app so the a list of other installed apps?

With „getPackageManager“ it is possible to get a list of installed applications on Android. 使用“ getPackageManager”可以获取Android上已安装应用程序的列表。 ( How to get a list of installed android applications and pick one to run ) 如何获取已安装的android应用程序列表并选择一个运行

But: Is it also possible for apps to see a list of installed apps on iOS smartphones? 但是:应用程序还能查看iOS智能手机上已安装的应用程序列表吗? And if yes, is it possible to hide an iOS app, so that it can't be „seen“ by other apps in this list? 如果是,是否可以隐藏iOS应用程序,以便该列表中的其他应用程序无法“看到”该应用程序?

There is no way to get a complete list of all apps installed, but if you know what you are looking for, you CAN (probably) check if a specific app is installed by testing if you can open that app's URL: 无法获取所有已安装应用程序的完整列表,但是如果您知道要查找的内容,则可以(可能)通过测试是否可以打开该应用程序的URL来检查是否安装了特定应用程序:

let otherAppURL = ...
if UIApplication.sharedApplication().canOpenURL(otherAppURL)
{
    // It's installed
}
else
{
    // It's not installed
}

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 是否可以获取有关其他已安装的iOS应用程序的信息? - Is it possible to get info on other installed iOS apps? 我的 IOS 应用程序用于监控其他已安装应用程序的使用情况 - My IOS app to monitor usage of other installed apps 是否可以在 ios 中获取已安装的应用程序 - Is it possible to get installed apps in ios 是否可以控制iOS系统均衡器(这样我就可以影响其他应用的音频播放) - Is it possible to control the iOS system equalizer (so that I can affect audio playing from other apps) 如何阅读iOS上安装的所有应用程序的列表 - How to read list of all apps installed on iOS 如何检查我的其他应用程序是否安装在iOS 10上? - How to check if my other apps are installed on iOS 10? 使用已安装的应用跟踪iOS中的用户位置-可以吗? - Track user position in iOS with installed app - is it possible? iOS:是否可以读取/清除iPhone中安装的所有应用程序的通知? - iOS : Is it possible to read/clear notification of all apps installed in iPhone? 是否有可能开发一个可以跟踪其他应用程序使用情况的应用程序? - is it possible to develop an app that will track other apps usage? 是否可以使用我自己的应用程序“禁用”其他应用程序? - Is it possible to 'disable' other apps with an app of my own?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM