-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
  • 307,833
  • 40
  • 508
  • 550
profidash_98
  • 254
  • 2
  • 3
  • 15
  • 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,249
  • 1
  • 16
  • 19