Proper way to perform a task in the future on iOS 7 and 8
Proper way to perform a task in the future on iOS 7 and 8
- Subject: Proper way to perform a task in the future on iOS 7 and 8
- From: Alex Zavatone <email@hidden>
- Date: Mon, 04 May 2015 14:29:05 -0400
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