hi,
i created a digital magazine using uikit (mainly UIScrollView and UIImageViews)
On one of the "pages" there is a button. On touch, i create an EAGLView and place it as subview of the mainview, so that it is the topmost view. Then i start the director with a scene. the only layer of that scene has a 2dboxworld, with 5-6 bodies, bouncing around.
everything works fine.
then, there is an exitbutton, that is supposed to hide the EAGLView, possible stop the 2dbox world, and let the user scroll through the magazine again.
now, when i just use [director stopAnimation] and [eaglview removeFromSuperview] i have terrifying performance issues that make the app unusable.
i figured out that i have much better results with [director end]
BUT: when i then press the "start@ button again, to show the eaglview again, nothing is animating in it. the tick gets called, but nothing moves...
are there any best practices you know for mixing UIKit and Cocos2d? How would you solve my problem?
thanks,
tehk