I want to bring the list of what apps are installed in my iPhone.
I hear this code sample is in this website but I can\'t find it.
Code Sample: Check if an a
On a jailbroken device you can check against the apps binary:
-(BOOL)isWrightsCSInstalled
{
return [[NSFileManager defaultManager] fileExistsAtPath:@"/Applications/WrightsCS.app/WrightsCS"];
}
Or, if you know the app has a custom URL Schema you can check if the URL can be opened:
- (BOOL) isTwitterInstalled
{
if ( [[UIApplication sharedApplication] canOpenURL:[NSURL URLWithString:@"twitter://"]] )
return YES;
else
return NO;
}