Appirater--The app prompts the user for the app to evaluate the prompt box

Source: Internet
Author: User

Appirater is a piece of code that you can embed into your project, which automatically pops up prompting users to score when they use the app for some time.

With Appirater, you can simply embed the source code into your app project and add the following code to its delegate class:

#pragma mark app rating

[appirater setappid:ID of kappid];//program

[appirater setdaysuntilprompt:7];//How many days to start the evaluation

[appirater setusesuntilprompt:5];//How many times after the start prompt evaluation

[appirater setsignificanteventsuntilprompt:-1];//important time how many times after the start of the evaluation

[appirater settimebeforereminding:2];//How many days after the user clicks on "comment later" to start a comment

[appirater setdebug:NO];//

[appirater applaunched:YES];

1. Copy Appirater.h and APPIRATER.M to the project

2. Add Cfnetwork.framework and Systemconfiguration.framework to the project

3. At the end of Application:didfinishlaunchingwithoptions: Add the following code:

[Appirater Applaunched:yes];

4. In Applicationwillenterforeground: Add the following methods:

[Appirater Appenteredforeground:yes];

Reference article: http://www.cnblogs.com/fengmin/p/5190139.html

Appirater--The app prompts the user for the app to evaluate the prompt box

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.