Skip to main content
Participant
August 16, 2012
Question

Saving state Air for iOS

  • August 16, 2012
  • 1 reply
  • 640 views

Is actively saving state really necessary for iPhone app development?

Regarding this article on the issue: http://www.adobe.com/devnet/flash/articles/saving_state_air_apps.html

When I test my app on my iPhone I can exit it in any way I like and it automatically pause the app. When I open the app again it starts exactly where I left it. So saving state does not seem to be necessary.

I am aware that the state of my app is not saved if the iPhone is powered off and restartet, however, this is not necessary in my case.

Seeing as the iPhone seems to simply pause my app when I close it, are there any reasons why I should save the state as described in the article?

I hope you can help.

This topic has been closed for replies.

1 reply

Chris W. Griffith
Community Expert
Community Expert
August 16, 2012

The user can manual kill your application, or if the OS needs the memory, it can also terminate your app as well. You should always strvie to provide the best user experience, and save your app's state.

Chris Griffith