I'd suggest saving them into the user defaults, since it's the more logical location (and also less work for you).
Come up with a unique setting name for each switch, and then save them in -applicationWillTerminate and restore them in -applicationDidFinishLaunching, eg.
Code:
-(void)applicationDidFinishLaunching:(UIApplication *)app {
NSUserDefaults *defs = [NSUserDefaults standardUserDefaults];
mySwitchOne.on = [defs boolForKey: @"mySwitchOneSetting"];
mySwitchTwo.on = [defs boolForKey: @"mySwitchTwoSetting"];
}
-(void)applicationWillTerminate:(UIApplication *)app {
NSUserDefaults *defs = [NSUserDefaults standardUserDefaults];
[defs setBool: mySwitchOne.on forKey: @"mySwitchOneSetting"];
[defs setBool: mySwitchTwo.on forKey: @"mySwitchTwoSetting"];
}
You may also want to look at the -registerDefaults: method of NSUserDefaults for how to set up the default values of the switches for the first time the application runs.