Julius Oklamcak wrote:

>Have you looked into using UIApplication's
>-beginBackgroundTaskWithExpirationHandler: in the >UIApplicationDelegate's-applicationDidEnterBackground: to give you >some background run time to finish the loop?

The problem is I need my loop to finish before didEnterBackground is called so I know the state is in a good place (i.e., not right in the middle of running physics.) I have all the time I need to actually save the state.

I'm beginning to suspect I'm out of luck. I'm going to have to do a lot of runs to see how and win I get the original message, I suspect there's something in SDL that makes it harder (i.e., some additional pump events in there.)

[>] Brian
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to