0

이 modalView를 보여 주며 터치를 처리하지 않습니다. 나는 cocos2d-iphone을 사용하고있다.GKMatchmakerViewController가 터치를 처리하지 않습니다.

mControllerView= [[UIViewController alloc] init]; 
//mControllerView.view = [[CCDirector sharedDirector] openGLView]; 
//this was the old method, it worked, but since ios6 it crashes 

[[[CCDirector sharedDirector] openGLView] addSubview:mControllerView.view]; 

theClass = [[TheClass alloc] init: mControllerView]; 
// this shows the  GKMatchmakerViewController inside mControllerView 
+0

터치 처리 코드를 어떻게 구현 했습니까? – LearnCocos2D

답변

0

것은 나는 최신 버전적인 Cocos2D를 변경하고, 변경, 또는 내가이 AppDelegate에에서 리팩토링해야하는지 확인하지 않았다. 이제 작동합니다.

관련 문제