ios - How to invoke an object after some particular time? -


rate sprite should displayed after 24 hours , counting when first time app launched . how can achieve ?

a few things have take care of.

when first time app launched, current time , save object nsuserdefaults. whenever user opens application again, saved object in nsuserdefaults , see if it's been 24 hours. if so, show rateus, else set timer remaining time.

better yet, use open source solutions irate.


Comments

Popular posts from this blog

python - Overwriting the save method of a Django model -

java - how to browse all messages from 2 different MQQueue in the same function? -

java - From File[] files to directory -