I have an application in Xcode 4.2.
I have created plist file as my requirement.
I have found the data from Applications main bundle and got the data in to the array.
But As I want to modify the plist data at run time, I could not find it in Documents Directory
Actually I want to modify the plist programmatically. Though I am not using mainbundle.
-(NSString *) saveFilePath::(NSString *)tagString
{
NSArray *arr = NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES);
NSString *strPath = [[arr objectAtIndex:0] stringByAppendingPathComponent:tagString];
return strPath;
}
Could not retrive the plist file.(Path I am getting, but path with file not getting)
I also could not find physically the plist file in the iphone simulator/App/Documents folder?
you need to copy plist from bundle to document directory first
let me know in case of any query thanks& regards neil