I use NSUserDefaults in my setting. App works well even I press home key let app into background, but if I kill the app, the data save in NSUserDefaults will lost. Here is my code. I have use synchronize.
The First initialize: