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上创建了测试帐户,之前我可以通过测试帐户安装这个应用程序,但现在每次或在其他设备上都会出现错误。附加的屏幕截图

发布于 2013-02-12 05:34:54
警报视图显示您的测试已成功。苹果不会让你真正安装它,因为它想避免在沙盒模式下购买应用程序。
https://stackoverflow.com/questions/13459478
复制相似问题