My application has a panel containing 4 view controllers. The third view controller contains “in-store in-app purchases”. In this controller, I use an object that controls in-app purchases (product request, purchase, transaction, etc.), which allow me to get and show the ecc price description.
The problem is this: if I change the tabs while starting the request, the application sometimes crashes, but not always.
Do I need to cancel a request in viewDidDisappear? [productsRequest cancel] this code failed.
ios objective-c in-app-purchase
comand89 01 Oct 2018-11-11T00: 00Z
source share