我正在展示这个 modalView,它不处理触摸。我正在使用 cocos2d-iphone。
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