2013-01-16 54 views
0

iOS 5或iOS 6中呼叫歷史文件的位置是什麼,呼叫歷史文件的名稱是什麼。 在iOS 4的通話記錄源碼文件的位置是call_history.db iOS 5或6中的位置

"/private/var/wireless/Library/CallHistory/call_history.db" 
+0

它是私人或打開並可用於非越獄設備? – Exploring

+0

hi sanjit我使用這段代碼遍歷'private directory'中的所有文件NSFileManager * fileManager = [NSFileManager defaultManager]; NSDirectoryEnumerator * dirnum = [[NSFileManager defaultManager] enumeratorAtPath:@「/ private /」]; NSString * nextItem = [NSString string];如果([nextItem pathExtension] isEqualToString:@「db」] || [(nextItem pathExtension] isEqualToString:@「sqlitedb」]){[FileManager isReadableFileAtPath:nextItem]){ NSLog(@「%@」,nextItem); } } } – Ajay

+0

,但我不樹 – Ajay

回答

0

我只是檢查了我的越獄的iOS 5.0.1的iPhone 4,而該文件是在完全相同的位置:

/private/var/wireless/Library/CallHistory/call_history.db