Hi,
I am using cocos2d-0.8-beta version.
I am creating UISlider control as fallows
UISlider * MySlider ;
CGRect frame =CGRectMake(10, 370.0, 88 , 15.0);
MySlider = [[UISlider alloc] initWithFrame:frame];
and setting other properties of slider.
MySlider.center=cpv(50 , 419);
[self addChild:MySlider];
this generates warning as : passing argument 1 of 'addChild' from distinct objective-c type and when I build application , app get crashed with log as
Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** -[UISlider zOrder]: unrecognized selector sent to instance
so could you help me adding UISlider control on the Layer?