0

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!

pnuts
  • 58,317
  • 11
  • 87
  • 139
Erik Lydecker
  • 719
  • 3
  • 12
  • 29

1 Answers1

1

This probably what you want:

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

More info in the docs.

sosborn
  • 14,676
  • 2
  • 42
  • 46