I have a property list in my application and I have it change the values of all the different fields but when the app is closed all the settings are removed. Here is the code I'm using:
NSBundle *mainBundle = [NSBundle mainBundle];
NSString *path = [mainBundle pathForResource:@"Settings" ofType:@"plist"];
//NSNumber *str = [dict objectForKey:@"Auto_Save"];
NSMutableDictionary *data = [[NSMutableDictionary alloc] initWithContentsOfFile:path];
[data setObject:[NSNumber numberWithBool:sender.on] forKey:@"Auto_Save"];
[data writeToFile:path atomically:YES];