私の問題は、ccLayerがccTouchイベントを認識できるように、UIScrollViewを「ピアス」するソリューションが見つからなかったことです。
self.isTouchEnabled = YES;
[[NSBundle mainBundle] loadNibNamed:@"myLayer" owner:self options:nil];
..。
- (void) registerWithTouchDispatcher {
[[CCTouchDispatcher sharedDispatcher] addTargetedDelegate:self priority:INT_MIN swallowsTouches:NO];
}
-(BOOL) ccTouchBegan:(UITouch *)touch withEvent:(UIEvent *)event {
CGPoint location = [self convertToWorldSpace:[self convertTouchToNodeSpace:touch]];
UIをバイパスしてccと通信するためのデリゲートまたは別のソリューションを作成する方法についてのアイデアはありますか?