How to get List of all Installed Apps in iPhone(Jailbroken). I want to get complete list of installed apps from appstore?
Asked
Active
Viewed 1,293 times
1 Answers
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
-
Hi Nitin, thanx for the reply, the code gives me the output cannot find app list – Kaushik Ajmera Mar 05 '13 at 11:08
-
run your project in Device – Nitin Gohel Mar 05 '13 at 11:10
-
now try with my updated Answer Method my frnd – Nitin Gohel Mar 05 '13 at 11:19
-
Hi Friend, thanx for the help again, but this time I am getting no output at all. – Kaushik Ajmera Mar 05 '13 at 11:28
-
i tested it my friend and i got outPut check proparly – Nitin Gohel Mar 05 '13 at 11:29
-
you get all installed apps list????? – Kaushik Ajmera Mar 05 '13 at 11:30
-
Even i cannot get list arrays contain 0 objects, i tested on device – Swati Oct 17 '13 at 07:36