美文网首页
内购里面[[SKPaymentQueue defaultQueu

内购里面[[SKPaymentQueue defaultQueu

作者: 黎先生_ | 来源:发表于2020-06-17 15:15 被阅读0次

    [[SKPaymentQueue defaultQueue] addPayment:payment]崩溃

    解决:
    添加内购代理方法:

    - (void)paymentQueue:(SKPaymentQueue *)queue removedTransactions:(NSArray<SKPaymentTransaction *> *)transactions {
        
        NSLog(@"交易结束");
        self.view.userInteractionEnabled = YES;
        [[SKPaymentQueue defaultQueue] removeTransactionObserver:self];
        
    }
    

    参考来自https://www.jianshu.com/p/1b0956102860

    相关文章

      网友评论

          本文标题:内购里面[[SKPaymentQueue defaultQueu

          本文链接:https://www.haomeiwen.com/subject/dpdsxktx.html