hi,
i want data to write pemanatly to the info.plist file ,
but with the follwing code data gets or objects are no longer exist or they are not actually get written into info.plist permantly
plz hep me
code is as follwing
NSString *path = [[NSBundle mainBundle] bundlePath];
NSString *finalPath = [path stringByAppendingPathComponent
"Info.plist"];
NSMutableDictionary* plistData = [[NSMutableDictionary alloc] initWithContentsOfFile:finalPath];
[plistData setValue
"item" forKey
"item"];
[plistData writeToFile:finalPath atomically: YES];
i want data to write pemanatly to the info.plist file ,
but with the follwing code data gets or objects are no longer exist or they are not actually get written into info.plist permantly
plz hep me
code is as follwing
NSString *path = [[NSBundle mainBundle] bundlePath];
NSString *finalPath = [path stringByAppendingPathComponent
NSMutableDictionary* plistData = [[NSMutableDictionary alloc] initWithContentsOfFile:finalPath];
[plistData setValue
[plistData writeToFile:finalPath atomically: YES];