How to determine the date an app is installed or used for the first time?

后端 未结 10 579
慢半拍i
慢半拍i 2020-12-03 01:40

I\'m planning on opening up an in app store and I\'d like to give existing users some of the items for free.

I thought of releasing an update which would store some

10条回答
  •  时光取名叫无心
    2020-12-03 02:02

    I'd recommend simply setting a date on first launch and storing it in NSUserDefaults. Look for the date on launch, if it's not there, set it. If it is, do some date comparison and handle the rest according to your plan.

提交回复
热议问题