I have a button in an SKScene (using Swift) -- "Add Puzzles" When the user clicks this button, I want to go to a UIView Controller or UI Scene so that I can implement In App Purchase code... (SkScenes are subsets of UIViews and cannot run the code...)
Does anyone have a basic idea how to do this...
I am a little inexperienced at this... I have used cocos2d and now Sprite Kit and have always set everything up manually and have very little experience with .xib files and view Controllers...
Does anyone know the basic idea of how to do this? Thanks for any help!
ANDY
You can set-up In-App-Purchases inside of an SKScene, You may need to tweak some code but it will work. Here's an example
You would call the removeAdsButton() or whatever when you want to make a purchase.