I am trying to get InApp purchase page working with cocos2d. I am trying to figure out a way to register rootviewcontroller in my app delegate. However, I see that the NavigationRootcontroller is already there and If i replace it with a new RootViewcontroller object my game control stop working.
I guess I’m not able to figure out how to get a RootViewcontroller working with cocos2d without messing up the existing NavigationRootcontroller.
I have gone throw Ray Wendelrich’s tutorial- however still not able to connect the dots between cocos2d and RootViewcontroller.
You can add your inAp purchase buttons to navigation control in cocos2d 2.0
Personally I don’t suggest any UI elements from UIKit in OpenGL based application. Use graphical buttons.