Question

I'm trying to send push notifications to users when they are at a specific location for more than 5 min. I know that you can send push notifications when a user is at a specific location, but how exactly do I "delay" the push notification 5 min?

Many thanks!

Was it helpful?

Solution

This probably what you want:

- (void)performSelector:(SEL)aSelector withObject:(id)anArgument afterDelay:(NSTimeInterval)delay

More info in the docs.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top