Created
February 12, 2012 00:45
-
-
Save ashfurrow/1805380 to your computer and use it in GitHub Desktop.
Best way to notify View Controller of In-App Purchase
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
So I have a View Controller that responds to user requests for a non-consumable in-app purchase. The VC invokes a method in the app delegate which serves as the SKProductQueueDelegate, so it'll receive confirmation that the IAP succeeded or not. | |
My question is: how would you notify the original VC that it should update the UI and unlock the purchased feature? I'm thinking NSNotification but I'm also considering retaining the VC in the app delegate. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment