本文介绍了skpaymentqueue canmakepayments内存泄漏检查的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述 29岁程序员,3月因学历无情被辞! 我在我的应用中运行乐器来检查泄漏。每次启动时都会有1个新泄漏 [SKPaymentQueue canMakePayments] 即使没有付款代码也被调用。I run Instrument to check Leaks in my app. It got 1 new leaks [SKPaymentQueue canMakePayments] every time start up even no code for payment is called.推荐答案根据此日期, SKPaymentQueue的 CanMakePayments 有内存泄漏,你无法对它做任何事情,因为它是 Apple的。苹果公司有很多门票都有同样的问题。它也存在于 iOS 10 上。希望他们能解决这个问题。参考: https://forums.developer.apple.com/thread/22312According to this date, SKPaymentQueue's CanMakePayments has memory leak and you can not do anything with it because it's Apple's one. There are lots of tickets opened in Apple's with the same issue. It exists on iOS 10 too. Hope they will fix this issue. ref: https://forums.developer.apple.com/thread/22312 这篇关于skpaymentqueue canmakepayments内存泄漏检查的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持! 上岸,阿里云! 08-29 06:51