Use NSWorkspace fullPathForApplication: to get the path to a set of applications. If this method returns nil, the application is not installed. For instance:
NSString *path = [[NSWorkspace sharedWorkspace] fullPathForApplication:@"Twitter"];
BOOL isTwitterInstalled = (nil != path);
URLForApplicationWithBundleIdentifier is another method you can use.
source
share