2013-10-23 29 views
1

我怎樣才能讓我的iPhone設備上的所有安裝的應用程序的詳細信息,如何獲得安裝的應用程序,並在後臺運行的所有應用程序的細節?提前致謝。iPhone上

+1

越獄。這是唯一的方法。 –

回答

3

是的,我們可以得到安裝應用程序的列表。

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"]; 

用戶Dict會給我們關於安裝的應用程序的所有信息。

+0

深感謝您的快速回復,我只是將使用這個比我會回答你很快 – kulss

+0

感謝深其做工精細 – kulss

+0

歡迎,快樂編碼 –