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
source share