iOS Native UI and Cocos2dx

hello, I am a new user cocos2dx. i am create a ios app.
can anyone help me to create side by side ios native ui dan cocos scene.
example in first launch of app, it use native ui. and have button to launch cocos scene.

Any help appreciated.

How I used to do it was to overlay the UIKit layer on top of the CCEAGLView. However, this approach only works when you code the layout and not using IB or storyboard.

You can look at AppController.mm and RootViewController.mm and tweak from there.

1 Like