I recently finish my app an was approved by apple but when i press the home button on the iphone and reopen the application it stays in the last state in which i leave it
is there a way to avoid this state saving in the application?
With android, there is a recently-added (although it is certainly in 1.4.X) exitOnClose property that can be set on the window, although it is only effective if set at window creation. See the description in the docs here
I am not sure how to enable this behaviour for iOS, though, so this may not be useful to you.
- Open your info.plist file
- Add Key UIApplicationExitsOnSuspend or Select Application does not run in background
- Set key to YES
The file should be in your iphone/build directory