Save load not working in iOS but works in simulator?

So here is what happen:

Simulator:

  1. Start a fresh game,

  2. Quit to save

  3. Game saved

  4. Run the game again from cold start, game loads.

Phone:

  1. Start a fresh game,

  2. Quit to save

  3. Game not saved

  4. Run the game again from cold start, starts a fresh game

Accidentally double post instead of editing my previous one. I apologize.

I have been debugging in the xCode console with my iphone conencted to it. Here is something I noticed, if i kill the application from the background (using multitask menu), it doesn’t send an event saying the app has exit? Was it suppose to send an event? How do I track that?

Try adding saveGame() to the suspend function that way it’s save when it goes into the background

Yeap! I did that, and it solved my problem. This is because killing an app after suspending won’t send an event. Thanks for sticking around all the way and helping me solve it! Appreciate it :slight_smile:

Welcome
I should have caught that sooner I may have to punish myself