0
int productID = xxx;
    NSDictionary *parameters = @{SKStoreProductParameterITunesItemIdentifier:[NSNumber numberWithInteger:productID]};

    [self.storeViewController loadProductWithParameters:parameters
                                        completionBlock:^(BOOL result, NSError *error) {
                                            if (result)
                                            {
                                                [self presentViewController:self.storeViewController animated:YES completion:^{

                                                }];
                                            }
                                        }];

我还在 iTunes Connect 上创建了测试帐户,之前我可以通过测试帐户安装此应用程序,但现在每次或在其他设备上我都会出错。附上截图在此处输入图像描述

4

1 回答 1

0

警报视图显示您的测试成功。Apple 不允许您实际安装它,因为它希望避免在沙盒模式下购买应用程序。

于 2013-02-11T21:34:53.790 回答