-3

I would like to make an app where you get coins ever day. How can i make a timer or something else who ckecks, wether the user already got the coin? Can anyone please help me?

rmaddy
  • 314,917
  • 42
  • 532
  • 579
profidash_98
  • 321
  • 2
  • 4
  • 19
  • What have you tried, your question is one that you could have easily found by reading the docs or google. – rckoenes Jun 16 '14 at 14:45

1 Answers1

1

Store the time that the user got the coin in the user defaults. Every time the application enter from the background check if the timeToGetAnotherCoin has passed.

Gal Marom
  • 8,499
  • 1
  • 17
  • 19