york
york

Reputation: 149

Call MKStoreManager (iPhone) every time

I want to call MKStoreManager every time when i came to in app purchase view so that i can fetch the updated price from iTunes.

But as noticed if i call [MKStoreManager sharedManager] once then it will never call again because it is not nil next time.

If i forcefully set nil to _sharedManager then it is crashing at here:

[[SKPaymentQueue defaultQueue] addPayment:[SKPayment paymentWithProduct:product]];

How can i call [MKStoreManager sharedManager] every time in order to get updated values?

Upvotes: 2

Views: 308

Answers (0)

Related Questions