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

bash - Performing variable substitution in a string -

How to group boxplot outliers in gnuplot -