I searched on stackoverflow for a tutorial how to use NSUserDefaults. I found this: How to save data in iOS
The whole thing works good as long as I do not close the app completly.
If I double tab the home button and close the app completly, all data is lost when I reopen it.
The Dataholder will then be initilized with score = 0 and level = 0 like defined in the init method.
Could you please help me?