If the apps you’re wanting to verify have a published URL schema, you can check if that’s available. That’s how apps know to route to an installed app (like Twitter), or to use some external default through Safari.
For example:
fb://
twitter://
imdb://
Most are here:
http://wiki.akosma.com/IPhone_URL_Schemes
Do something like this using the canOpenURL method to check if there’s an app that can handle that URL/schema, then you can openURL:[] and invoke the native app, or handle the lack of the app, like so:
Code:
NSString *url = @“custom_url_schema://";
if ([[UIApplication sharedApplication] canOpenURL:[NSURL url]]) {
// open and route with custom url
} else {
// handle lack of schema, open in safari, notify user, etc.
}
This of course doesn’t detect “running” apps, and only apps with a published schema, but since I don’t know your actual design goals, I figured I’d toss it out there as a possible solution.