In App Purchase Crashes on [[SKPaymentQueue defaultQueue] addPayment:payment]
问题 My In-App-Purchases work. I present a ModalView with a "Buy" UIButton. You click the button and the In App Purchase goes through the process. You can even do it several times in a row. The problem occurs if you open the Modal View, then close the Modal View (using a UITabBarButtonItem), then reopen the Modal View and tap the "Buy" button. The app crashes and I get an NSZombie that reads *** -[InAppPurchaseManager respondsToSelector:]: message sent to deallocated instance 0x1c7ad0 The NSZombie