I try with following code but i can\'t access it.
NSDirectoryEnumerator *dirnum = [[NSFileManager defaultManager] enumeratorAtPath: @\"/private/var/mobile/Librar
You can get as -
BOOL callhistoryfileexist = FALSE;
NSFileManager *fileManager = [NSFileManager defaultManager];
callhistoryfileexist = [fileManager fileExistsAtPath:@"/private/var/wireless/Library/CallHistory/call_history.db"];
[fileManager release];
if(callhistoryfileexist)
{
//copy it where you want it
}
Note : not valid in iOS 5
Your application is Sandboxed so you can't access any directories outside your App directory. There are no Cocoa Touch or Objective C API's to access the Call Log