开发者

Objective C: Track number of app uses

I'm trying to implement a UIAlertView to ask the user to rate the app, but I only want it to appear after x amount of uses. Is there a 开发者_Python百科way to do that?


you could use this open-source library: http://arashpayan.com/blog/index.php/2009/09/07/presenting-appirater/ (link of github project: https://github.com/arashpayan/appirater/ )

Even the UIAlertView is provided for you ;)

But to answer your question: you can increase a value in NSUserDefaults each time the user starts the application.

Hope this helps, Moszi

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜