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 (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