我有 4 个应用内购买设置,都运行良好。我添加了第五个,与其他实现相同。它已获批准,在 iTunes Connect 中看起来不错。均为非消耗品。
但是在我的 SKProductsRequestDelegate 中,我没有在此处获取其产品 ID:
- (void)productsRequest:(SKProductsRequest *)request didReceiveResponse:(SKProductsResponse *)response
{
NSArray* skProducts = response.products;
for (SKProduct* skProduct in skProducts) {
// I don't see its product ID here, the others all appear fine.
}
}
其他都正常。该项目已在 24 小时前获得批准。知道为什么它可能不会作为该请求的一部分从苹果返回吗?同样,在 iTunes Connect 中一切看起来都正常。
谢谢
最佳答案
我按照 Davis G. 在评论中提到的那样做了,正如 dcRay 回答的那样 here .
确保您在真实设备上进行测试
在您的应用 Info.plist 文件中,检查 Bundle Identifier(例如 com.company.appname)是否与 iTunes Connect 中的一致
关于ios - 应用内购买产品未显示在产品请求中?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/17288666/