开发者

Determine when user purchased iPhone application [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.

Want to improve this question? Add details and clarify the problem by editing this post.

Closed 9 years ago.

Improve this question

Is it possi开发者_运维技巧ble to determine when a user first purchased your application? (Not just when they last downloaded it, hopefully device independent)


You could store the first run into the NSUserDefaults, the only problem with this approach is if they delete and reinstall the App you would lose the data:

NSUserDefaults *defaults = [NSUserDefaults standardUserDefaults];
[defaults setObject:[NSDate date] forKey:@"FirstRun"];
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜