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.
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
According 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