I am looking for code to ask the user if they want to rate the app, after they have been using it for X amount of time. I have seen this in some of the big g开发者_如何学编程aming apps.
This is widely used for prompting to rate apps.
http://arashpayan.com/blog/2009/09/07/presenting-appirater/
Edit:
Getting Started
Add the Appirater code into your project
Add the CFNetwork and SystemConfiguration frameworks to your project
Call [Appirater appLaunched:YES] at the end of your app delegate's application:didFinishLaunchingWithOptions: method.
Call [Appirater appEnteredForeground:YES] in your app delegate's applicationWillEnterForeground: method.
(OPTIONAL) Call [Appirater userDidSignificantEvent:YES] when the user does something 'significant' in the app.
Finally, set the APPIRATER_APP_ID in Appirater.h to your Apple provided software id.
https://github.com/nicklockwood/iRate is also another library to do the same thing.
RMRecurringURLAlert does what you want.
精彩评论