in my CCScene i am adding some UILable and UIPickerView they works great, but when i am trying then to add a CCMenu (cocos2d) i dont see it, or, that i can see something that cover my labels but not see the button itself.
code for the button :
CCMenuItemImage *back = [CCMenuItemImage itemFromNormalImage:@"openBack.png" selectedImage:@"openBack.png" target:self selector:@selector(setMenu:)];
back.position=ccp(300,300);
back.tag=30;
CCMenu *menu = [CCMenu menuWithItems:back,nil];
[self addChild:menu z:100];
and the other views of the UIKit i add with :
[[[[CCDirector sharedDirector] openGLView] window] addSubview:activationCode];
i cant figure out the connection between the openGL and the cocos CCScene. any help ?