0

Let's imagine I have a weather app and it has a tile on the main screen that shows the current temperature in NY. I want to update the temperature in that tile every 5min (after the user exists the app). How can I do that (run code after the user exits)?

sparcopt
  • 416
  • 2
  • 8
  • 22

1 Answers1

0

You should use what's called background agents. Specifically, use a periodic task.

ken2k
  • 48,145
  • 10
  • 116
  • 176