iosappirater

Rate and review within an app possible in iOS7?


I have heard that iOS7 allows users to rate and review an app within that app, avoiding the need to redirect to appstore and leaving the app. So far, I have only found the difference in the URL links for the rate feature in itunes as mentioned in ITunes review URL and iOS 7 (ask user to rate our app) AppStore show a blank page, but not how to stay inside the app.

I'm using Appirater in my app and integrated the new url and app goes to appstore for rate/review.

Can anybody tell me if this new feature is there and how to implement it?


Solution

  • I think you're looking for the SKProductViewController.

    You can present a SKProductViewController with the following code:

    NSDictionary *parameters = [NSDictionary dictionaryWithObject:@"YOURITUNESAPPID" forKey:SKStoreProductParameterITunesItemIdentifier];
    
    SKProductViewController *productViewController = [[SKProductViewController alloc] init];
    [self presentViewController:productViewController animated:YES completion:nil]];
    

    This assumes that you're in a UIViewController subclass and know your iTunes application identifier. This will display a model viewController displaying the AppStore entry for that application.

    Users are able leave ratings from that viewController. Haven't been able to write a review though.