I\'m making a game and when I close the app (close at multitask manager), all my data is gone! So, My question is very simple: How do I save the data?
[NSUserDefaults standardUserDefaults] is good for small amounts of data like user settings and preferences. Typically you use this to enable users to save various bits of data that define global values such as character preferences, weapons preferences, whatever, etc.
For larger amounts of data like game level details or achievements or weapons inventory, etc. You will want to use something like Core Data. This is a more formal database that can be easily migrated as your data schema changes. See the docs here: Core Data and Core Data Programming Guide