开发者

Objective C: Track number of app uses

开发者 https://www.devze.com 2023-02-02 09:52 出处:网络
I\'mtrying 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 l

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

精彩评论

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