iphone – productsRequest响应方法没有调用

iphone – productsRequest响应方法没有调用,第1张

概述我正在实施应用程序购买我通过苹果商店发送请求 - (void) requestProductData{ SKProductsRequest *request= [[SKProductsRequest alloc] initWithProductIdentifiers: [NSSet setWithObjects: featureAId,featureBId,nil]]; // 我正在实施应用程序购买我通过苹果商店发送请求

- (voID) requestProductData{ SKProductsRequest *request= [[SKProductsRequest alloc] initWithProductIDentifIErs:         [NSSet setWithObjects: featureAID,featureBID,nil]]; // add any other product here request.delegate = self; [request start];}

响应方式

- (voID)productsRequest:(SKProductsRequest *)request dIDReceiveResponse:(SKProductsResponse *)response{ [purchasableObjects addobjectsFromArray:response.products];}

没有打电话。只有一次,我尝试了10次尝试。

有什么想法吗?
提前致谢

解决方法 尝试实现 – (voID)请求:(SKRequest *)请求dIDFailWithError:(NSError *)错误方法 – 可能在处理您的请求时有一些错误。 总结

以上是内存溢出为你收集整理的iphone – productsRequest响应方法没有调用全部内容,希望文章能够帮你解决iphone – productsRequest响应方法没有调用所遇到的程序开发问题。

如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。

欢迎分享,转载请注明来源:内存溢出

原文地址:https://54852.com/web/1036562.html

(0)
打赏 微信扫一扫微信扫一扫 支付宝扫一扫支付宝扫一扫
上一篇 2022-05-24
下一篇2022-05-24

发表评论

登录后才能评论

评论列表(0条)

    保存