<bdo id='XUXFQ'></bdo><ul id='XUXFQ'></ul>
  • <tfoot id='XUXFQ'></tfoot>
  • <i id='XUXFQ'><tr id='XUXFQ'><dt id='XUXFQ'><q id='XUXFQ'><span id='XUXFQ'><b id='XUXFQ'><form id='XUXFQ'><ins id='XUXFQ'></ins><ul id='XUXFQ'></ul><sub id='XUXFQ'></sub></form><legend id='XUXFQ'></legend><bdo id='XUXFQ'><pre id='XUXFQ'><center id='XUXFQ'></center></pre></bdo></b><th id='XUXFQ'></th></span></q></dt></tr></i><div id='XUXFQ'><tfoot id='XUXFQ'></tfoot><dl id='XUXFQ'><fieldset id='XUXFQ'></fieldset></dl></div>
    <legend id='XUXFQ'><style id='XUXFQ'><dir id='XUXFQ'><q id='XUXFQ'></q></dir></style></legend>

      1. <small id='XUXFQ'></small><noframes id='XUXFQ'>

        SKProductsRequest 委托方法永远不会被调用

        时间:2023-09-12
        • <i id='ngBVa'><tr id='ngBVa'><dt id='ngBVa'><q id='ngBVa'><span id='ngBVa'><b id='ngBVa'><form id='ngBVa'><ins id='ngBVa'></ins><ul id='ngBVa'></ul><sub id='ngBVa'></sub></form><legend id='ngBVa'></legend><bdo id='ngBVa'><pre id='ngBVa'><center id='ngBVa'></center></pre></bdo></b><th id='ngBVa'></th></span></q></dt></tr></i><div id='ngBVa'><tfoot id='ngBVa'></tfoot><dl id='ngBVa'><fieldset id='ngBVa'></fieldset></dl></div>

              • <bdo id='ngBVa'></bdo><ul id='ngBVa'></ul>

                <small id='ngBVa'></small><noframes id='ngBVa'>

                  <tbody id='ngBVa'></tbody>
                  <tfoot id='ngBVa'></tfoot><legend id='ngBVa'><style id='ngBVa'><dir id='ngBVa'><q id='ngBVa'></q></dir></style></legend>

                  本文介绍了SKProductsRequest 委托方法永远不会被调用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  这曾经对我有用,但现在不再有用了,我不知道为什么.我的应用中有应用内购买设置.我确认我有一组正确的产品标识符,与 itunesconnect 中相应的应用内购买项目相匹配.呼叫转到 Apple 视图 [productRequest start],但我从未收到回复,尽管我将委托设置为我自己.我错过了什么?

                  This used to work for me but is now not working anymore and I can't figure out why. I have in-app purchase setup in my app. I confirmed that I have a correct set of product identifiers, matched by corresponding in-app purchase items in itunesconnect. The call goes out to Apple view [productRequest start], but I never get a response back, despite setting the delegate to myself. What am I missing?

                  NSLog(@"productIdentifiersSet: %@", productIdentifiersSet);
                  if ([productIdentifiersSet count]) {
                      SKProductsRequest *productRequest = [[SKProductsRequest alloc] initWithProductIdentifiers:productIdentifiersSet];
                      [productRequest setDelegate:self];
                      [productRequest start];
                  }
                  

                  …………

                  - (void)productsRequest:(SKProductsRequest *)request didReceiveResponse:(SKProductsResponse *)response {
                     <never called>
                  }
                  
                  - (void)requestDidFinish:(SKRequest *)request {
                      <never called>
                  }
                  
                  - (void)request:(SKRequest *)request didFailWithError:(NSError *)error {
                      <never called>
                  }
                  

                  推荐答案

                  我今天也遇到了同样的问题.早上我的代码正常工作,下午它没有工作 3-4 小时.我花了我所有的时间,尝试了很多事情.但不久前,它开始自己工作.我没有改变任何东西.

                  The same problem happened to me today. In the morning my code was working, in the afternoon it didn't work for 3-4 hours. I spent all of my time and tried many things. But a little time before, it started working itself. I didn't change anything.

                  我想我们不能信任苹果服务器.

                  I suppose we can't trust apple servers about that..

                  这篇关于SKProductsRequest 委托方法永远不会被调用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  上一篇:Swift 中的自定义 UITableViewCell 委托模式 下一篇:自定义 uitextfield 的保留周期(强参考)修复?

                  相关文章

                1. <small id='0MH5A'></small><noframes id='0MH5A'>

                2. <legend id='0MH5A'><style id='0MH5A'><dir id='0MH5A'><q id='0MH5A'></q></dir></style></legend>
                    <bdo id='0MH5A'></bdo><ul id='0MH5A'></ul>
                3. <tfoot id='0MH5A'></tfoot>

                  <i id='0MH5A'><tr id='0MH5A'><dt id='0MH5A'><q id='0MH5A'><span id='0MH5A'><b id='0MH5A'><form id='0MH5A'><ins id='0MH5A'></ins><ul id='0MH5A'></ul><sub id='0MH5A'></sub></form><legend id='0MH5A'></legend><bdo id='0MH5A'><pre id='0MH5A'><center id='0MH5A'></center></pre></bdo></b><th id='0MH5A'></th></span></q></dt></tr></i><div id='0MH5A'><tfoot id='0MH5A'></tfoot><dl id='0MH5A'><fieldset id='0MH5A'></fieldset></dl></div>