• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Proper way to perform a task in the future on iOS 7 and 8
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Proper way to perform a task in the future on iOS 7 and 8
      • From: Fritz Anderson <email@hidden>
    • Re: Proper way to perform a task in the future on iOS 7 and 8
      • From: Rick Mann <email@hidden>
  • Prev by Date: Re: Dumb question about view controllers
  • Next by Date: Re: Proper way to perform a task in the future on iOS 7 and 8
  • Previous by thread: Re: Parent/child view controllers: when shall we use it?
  • Next by thread: Re: Proper way to perform a task in the future on iOS 7 and 8
  • Index(es):
    • Date
    • Thread