Can StoreKit in iOS8+ send a user directly to write a review?

I've found a lot of info as it relates to iOS7, but no definitive answer for iOS8+. I would like to keep the user in app to write a review, but it seems that when you tap on the "Write a Review" button that StoreKit presents it does nothing. I thought maybe it was because it was a debug build but have been unable to get it working on the Release build as well.



Is this possible at all?



if (NSStringFromClass([SKStoreProductViewController class]) != nil) {
    // let's load this stuff so it's ready if we get a good review
    if (!_storeViewController) {
        _storeViewController = [[SKStoreProductViewController alloc] init];
    }
    NSNumber *appId = [NSNumber numberWithInteger:12345];
    [_storeViewController loadProductWithParameters:@{SKStoreProductParameterITunesItemIdentifier:appId} completionBlock:nil];
    _storeViewController.delegate = self;
}

Replies

I have the same problem.

I think there is a bug with the SKStoreProductViewController.

Yeah I've run into the same issue. Will be sending users to the App Store app for now.

Same issue, any update?

you need to present it ..

Code Block
NSDictionary *parameters = @{
      SKStoreProductParameterITunesItemIdentifier: [[NSNumber alloc] initWithInt:123456789]
    };
    SKStoreProductViewController *storeViewController = [[SKStoreProductViewController alloc] init];
    [storeViewController setDelegate:self];
    [storeViewController loadProductWithParameters:parameters
completionBlock:^(BOOL result, NSError * _Nullable error) {
      if (result) {
        [self presentViewController:storeViewController animated:true completion:nil];
      } else {
        [EvaluateHelper trackWithError:error];
      }
    }];