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

javascript - AngularJS custom datepicker directive -

javascript - jQuery date picker - Disable dates after the selection from the first date picker -