I’m having trouble getting any display updates to fire during applicationSuspend.
For instance, my game is a timed puzzle. If I double-tap the home button the application suspends while the multitasking ribbon comes up. That’s fine, I guess, although I have specified UIApplicationExitsOnSuspend = true in build.settings. It does properly exit rather than suspend when single-tapping the home button.
Anyway – when 'suspend’ing the simulator or double-tapping the home button on the device, the code in my systemEventHandler function fires, except that some of that code that updates display objects never gets a chance to complete. I suspect Corona is halting screen updates *before* passing the event to the handler, in which case there’s nothing I can do about it.
Since it’s a timed puzzle app, it’s a cheat to double-tap the button to suspend and then “solve” the puzzle offline, so to speak. My suspend listener stops the timer and hides the puzzle elements on screen. The latter never happens, though, until the application is *resumed*.
Am I missing something?
I’d post sample code but it’s irrelevant. This is a generic concern; you can put any display object creation/manipulation in an applicationSuspend function and you won’t see it happen. [import]uid: 44647 topic_id: 25430 reply_id: 325430[/import]