-3

How to get List of all Installed Apps in iPhone(Jailbroken). I want to get complete list of installed apps from appstore?

Kaushik Ajmera
  • 49
  • 1
  • 1
  • 6

1 Answers1

1

you can not getting list of install app of your Device from Appstore but you can get list of your install app From your Device. i just Google it and got best answer from

get list of installed applications on iphone objective-c

Get list of installed apps on iPhone

Get list of all installed apps

you can get it like:-

-(void)appInstalledList
{
      BOOL isDir = NO;
      NSDictionary *cacheDienter;
      NSDictionary *user;
      static NSString *const cacheFileName = @"com.apple.mobile.installation.plist";

    NSString *relativeCachePath = [[@"Library" stringByAppendingPathComponent: @"Caches"] stringByAppendingPathComponent: cacheFileName];
    NSString *path = [[NSHomeDirectory() stringByAppendingPathComponent: @"../.."] stringByAppendingPathComponent: relativeCachePath];
    if ([[NSFileManager defaultManager] fileExistsAtPath: path isDirectory: &isDir] && !isDir) // Ensure that file exists
    {
        cacheDienter    = [NSDictionary dictionaryWithContentsOfFile: path];
        user = [cacheDienter objectForKey: @"System"];
        NSLog(@"%@",user);
        // Then all the user (App Store /var/mobile/Applications) apps
    }
}
Community
  • 1
  • 1
Nitin Gohel
  • 49,182
  • 17
  • 106
  • 143