> On May 6, 2015, at 9:08 AM, Alex Zavatone <z...@mac.com> wrote:
> 
> I'm looking into performing an event in the future on iOS very likely when 
> the app may be in the background, possibly up to 24 hours in the future.

Keep in mind that your app isn’t even running when it’s in the background on 
iOS. It’s not just that it’s threads are idle — the process is literally not 
being scheduled by the kernel to get any CPU time. That’s why in-process 
triggers like delayed-perform or dispatch_after are useless. The only things 
that will wake your app up in this state are _external_ events like local 
notifications or CoreLocation events, which will get the OS to unfreeze your 
process.

—Jens
_______________________________________________

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