I'm working on an app where I need to be able to scroll a series of textfields on the screen. I've used CCScrollLayer in the past with much success, but now that I'm adding Text Fields to it, I'm struggling. When I use CCTextfields, they scroll with the rest of the scene just fine, but they aren't editable for some reason. I thought about using UiTextFields, but I don't think it's possible to add it to a layer?
CCLayer *pageOne = [[CCLayer alloc] init];
CCTextField *tf_itemname=[CCTextField textFieldWithFieldSize:CGSizeMake(50, 50) fontName:@"Arial" andFontSize:10];
[pageOne addChild:tf_itemname z:1];
CCScrollLayer *scroller = [[CCScrollLayer alloc] initWithLayers:[NSMutableArray arrayWithObjects: pageOne,nil] widthOffset: 0];
[self addChild:scroller z:1];
Is this even possible, or do I need to start looking for an alternative?