Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Finding list of installed apps on iphone

Is it possible to programatically find out name of all apps installed on my iOS device ? Is there any API available for same ?

Thanks for the help

like image 986
Unicorn Avatar asked Jan 06 '11 12:01

Unicorn


People also ask

Can I see history of the apps I've downloaded on iPhone?

On your iPhone, iPad, or iPod touchTap your name, then tap Media & Purchases. Tap View Account. You might be asked to sign in. Tap Purchase History.

How do I see a list of my downloaded apps?

You can see all the apps you've ever downloaded on your Android phone by opening the "My apps & games" section in your Google Play Store. The apps you've downloaded are divided into two sections: "Installed" (all the apps currently installed on your phone) and "Library" (all the apps that aren't currently installed).

Why does my iPhone not show installed apps?

Search with Spotlight, check for a new Home screen by swiping to the right, and check all your folders. If those don't work, try a hard reset. After you restart the iPhone, search for the app again. If the app is still missing, delete the app and reinstall it from the App Store.


3 Answers

No, on iOS applications has no access to information of/about other applications due to sandboxed environment.

like image 101
Nickolay Olshevsky Avatar answered Oct 18 '22 08:10

Nickolay Olshevsky


Yes it is possible to get list of all installed app

-(void) allInstalledApp
{    
    NSDictionary *cacheDict;

    NSDictionary *user;

    static NSString *const cacheFileName = @"com.apple.mobile.installation.plist";

    NSString *relativeCachePath = [[@"Library" stringByAppendingPathComponent: @"Caches"] stringByAppendingPathComponent: cacheFileName];

    NSString *path = [[NSHomeDirectory() stringByAppendingPathComponent: @"../.."] stringByAppendingPathComponent: relativeCachePath];

    cacheDict    = [NSDictionary dictionaryWithContentsOfFile: path];

    user = [cacheDict objectForKey: @"User"];

    NSDictionary *systemApp=[cacheDict objectForKey:@"System"];
}   

systemApp Dictionary contains the list of all system related app and user Dictionary contains other app information.

like image 28
Avinash Kashyap Avatar answered Oct 18 '22 10:10

Avinash Kashyap


Not from the device. However, from the desktop you could peek into the iTunes library.

like image 44
joshpaul Avatar answered Oct 18 '22 10:10

joshpaul