Re: Proper way to perform a task in the future on iOS 7 and 8
Re: Proper way to perform a task in the future on iOS 7 and 8
- Subject: Re: Proper way to perform a task in the future on iOS 7 and 8
- From: Rick Mann <email@hidden>
- Date: Mon, 04 May 2015 12:14:33 -0700
Maybe a local silent notification? Not sure you can even do that.
> On May 4, 2015, at 11:29 , Alex Zavatone <email@hidden> wrote:
>
> I'm creating some CLRegions (geofences) that are monitored when the iOS app is in the foreground and in the background.
>
> These are not permanent, but will expire after a certain amount of time.
>
> What I'm wondering is which method makes the most sense to dispose of them and remove them from the CLLocationManager if the app is to be in the foreground and/or the background?
>
> Since the app is already receiving location updates in the background, does it make sense to check if the current time is > than the expiry timestamp within a location manager update?
>
> Any pointers to an viable approach here will be appreciated.
>
> Thanks in advance,
>
> Alex Zavatone
> _______________________________________________
>
> Cocoa-dev mailing list (email@hidden)
>
> 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:
>
> This email sent to email@hidden
--
Rick Mann
email@hidden
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden