多个自动可续订订阅未显示

时间:2022-09-23 22:44:15

I am trying to integrate multiple "Automatically Renewable Subscriptions" in my app, but i am getting only one of the SKProducts. Is there any limitation from Apple over multiple "Automatically Renewable Subscriptions"?

我正在尝试在我的应用程序中集成多个“自动可再生订阅”,但我只获得了一个SKProducts。 Apple对多个“自动可再生订阅”有任何限制吗?

1 个解决方案

#1


0  

Got it done - i was passing a single productIdentifier to SKProductRequest set. Passing the whole set of productIdentifiers i defined in iTunes fixed the problem.

完成了 - 我将一个productIdentifier传递给SKProductRequest集。传递我在iTunes中定义的整套productIdentifiers修复了问题。

NSSet *inAppProductsSet = [NSSet setWithObjects:@"iap.prod1",
                           @"iap.prod2",
                           @"iap.prod3", nil];
SKProductsRequest *request = [[SKProductsRequest alloc] initWithProductIdentifiers:inAppProductsSet];

#1


0  

Got it done - i was passing a single productIdentifier to SKProductRequest set. Passing the whole set of productIdentifiers i defined in iTunes fixed the problem.

完成了 - 我将一个productIdentifier传递给SKProductRequest集。传递我在iTunes中定义的整套productIdentifiers修复了问题。

NSSet *inAppProductsSet = [NSSet setWithObjects:@"iap.prod1",
                           @"iap.prod2",
                           @"iap.prod3", nil];
SKProductsRequest *request = [[SKProductsRequest alloc] initWithProductIdentifiers:inAppProductsSet];