Saving attributes

I am trying to get my game to where you finish one level and it unlocks the next, but I don't know if on the iPad or iPhone it will save it. Like if I were to close the game on the device after it is published and then restarted, wouldn't it reset all the attributes? How would I get it to save your game?
Comments
""You are in a maze of twisty passages, all alike." - Zork temp domain http://spidergriffin.wix.com/alphaghostapps