How to find out which apps are installed on iPhone

I am developing an application in which I need to find applications that are already installed on an iphone device such as Skype, facebook. I need to check this out. Please give me a code snippet, if possible, otherwise a link to get a solution. Is it possible or not.

If possible, then how to disable the application also ...

Thanks in advance...

+4
source share
4 answers

You cannot test any application, but you can check applications that have officially shared their URL scheme.

You can find the largest database of these URL schemes here . Now how to use? All we need is UIApplication. First, we need to check if iOS can open a specific URL:

[[UIApplication sharedApplication] canOpenURL:[NSURL URLWithString:@"fb://profile"]]; 

If this method returns yes, then the user has the facebook application installed. To open the following application, you need to call:

 [[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"fb://profile"]]; 

Which will open your facebook profile in facebook app.

Alas, there is no way to disable any other iOS application, since each third-party software is isolated.

Hope this was helpful, Pawel

+17
source

Tapbots does something similar, but only with their own applications. They probably track the UDID of the device on their server, exchanging data with the server using each application, so they can show which of their applications are installed on this device.

As already mentioned, this only works for the applications you make, as you will be one of those software features in your applications. You cannot check for applications made by others.

There are also no public APIs that allow you to disable other applications. And besides, as others say, applications are all isolated for themselves.

By the way ... if you are trying to disable these applications because they are competing with yours ... forget about it. The legal consequences that can and will follow are not very good.

+2
source

I do not think this is possible as a result of being isolated in your own application environment.

And I mean applications in general, and not applications made by you (as BoltClock mentioned), because you mean facebook and skype applications, which, I think, do not belong to you.

0
source

I ask your reasons for this, especially by disabling other applications. Applications are isolated in a separate environment. Anything that violates this will not be accepted on the App Store.

0
source

All Articles