0

With „getPackageManager“ it is possible to get a list of installed applications on Android. (How to get a list of installed android applications and pick one to run)

But: Is it also possible for apps to see a list of installed apps on iOS smartphones? And if yes, is it possible to hide an iOS app, so that it can‘t be „seen“ by other apps in this list?

max
  • 1

1 Answers1

0

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:

let otherAppURL = ...
if UIApplication.sharedApplication().canOpenURL(otherAppURL)
{
    // It's installed
}
else
{
    // It's not installed
}
ghostatron
  • 2,620
  • 23
  • 27
  • Don't forget you need to add the URL scheme to the Info.plist before you can use `canOpenURL`. – rmaddy Feb 21 '18 at 01:03