SKStoreReviewController and others are well received in ios10.3app

Keywords: iOS Windows

App Store Scoring Method

1. Open App Store directly through open URL

No version restrictions, you can jump directly to the comment interface. On the scoring page, you can score and evaluate, and comments are more valuable. The disadvantage is that jumping to App Store requires login and the transformation of user's operation scenario, which will cause some users to use troubles, may take a long waiting time, or even load failure, resulting in a small number of evaluations.

2. Modal Display APP Details Page

IOS 6+, a controller in the application present ation, shows the details of the APP interface. But you can't jump directly to the comment editing page. After loading the App Store display page, you need to manually click on comments write comments, two more steps, some users may have operational obstacles (can not find them).

3. APP Bullet Window SKStoreReviewController

IOS 10.3 launched a new form, APP direct score, simple and direct, but can not write comments. App internal rating call API [SKStoreReviewController request review]; (currently the only), the application will automatically pop-up window request user rating, pop-up window can not be customized, processing process and processing results can not be monitored. Only the API can be used to request ratings, and no evaluation and feedback can be requested. The maximum use of bullet windows in an application is three times a year, and the abuse of bullet windows will arouse the disgust of many users, and even give poor evaluation to the application.

Concrete realization

1. Open App Store directly through open URL

+ (void)openRatingViewInAppStore {
    NSString *appStoreReviewStr = @"itms-apps://itunes.apple.com/cn/app/jj%E6%96%97%E5%9C%B0%E4%B8%BB/id472885640?action=write-review";
    if ([[UIDevice currentDevice] userInterfaceIdiom] == UIUserInterfaceIdiomPad) {
        appStoreReviewStr = @"itms-apps://itunes.apple.com/cn/app/jj%E6%96%97%E5%9C%B0%E4%B8%BBhd-%E6%8D%95%E9%B1%BC%E9%BA%BB%E5%B0%86%E6%A3%8B%E7%89%8C%E5%90%88%E9%9B%86/id508667882?action=write-review";
    }
    [[UIApplication sharedApplication] openURL:[NSURL URLWithString:appStoreReviewStr]];
}

appStoreReviewStr is your APP's address on App Store. For a view of this address, please refer to
How to find the download link address of Apple App Store application
Note here that the "action=write-review" at the end of the string. Only with this can you jump directly to the comment interface, otherwise you just enter the APP details interface.

2. Modal Display APP Details Page

  • Introducing header files
#import <StoreKit/StoreKit.h>
  • Follow the agency
SKStoreProductViewControllerDelegate
  • Method realization
- (void)showAppStoreReView
{
    SKStoreProductViewController *storeProductViewContorller = [[SKStoreProductViewController alloc] init];
    storeProductViewContorller.delegate = self;
    [storeProductViewContorller loadProductWithParameters:@{SKStoreProductParameterITunesItemIdentifier : [PlistReader valueForKeyInConfig:@"APP_ID"]} completionBlock:^(BOOL result, NSError *error) {
         if(error) {

         } else {
           [self presentViewController:storeProductViewContorller animated:YES completion:^{
             }];
         }
     }];
}
  • Implementation agent
- (void)productViewControllerDidFinish:(SKStoreProductViewController *)viewController {
    [self dismissViewControllerAnimated:YES completion:^{
    }];
}

3. APP Bullet Window SKStoreReviewController

  • Introducing header files
#import <StoreKit/StoreKit.h>
  • Method realization
+ (void)openRatingViewInApp {
    NSString *version = [UIDevice currentDevice].systemVersion;
    if (version.doubleValue >= 10.3) {
        [SKStoreReviewController requestReview];
    }
}

summary

Above is the analysis and comparison of three APP evaluation methods, as well as a brief use of methods. If you want to know more, or encounter any deep pits, it is recommended to read the corresponding official documents.
Welcome to rectify the shortcomings!

Posted by zardiw on Tue, 21 May 2019 15:46:07 -0700