Vikram.exe Vikram.exe - 4 months ago 16
iOS Question

Get list of installed apps on iPhone

Is there a way (some API) to get the list of installed apps on an iPhone device.

While searching for similar questions, I found some thing related to

url registration
, but I think there must be some API to do this, as I don't want to do any thing with the app, I just want the list.

Answer

No, apps are sandboxed and Apple-accepted APIs do not include anything that would let you do that.

You can, however, test whether a certain app is installed:

  • if the app is known to handle URLs of a certain type
  • by using [[UIApplication sharedApplication] canOpenURL:[NSURL URLWithString:@"thisapp://foo"]

You can get a list of apps and URL schemes from here.

Comments