我正在显示这个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
答案 0 :(得分:0)
我已将cocos2d更改为更新版本,并未检查更改内容,或者我应该在appDelegate中重构什么。现在它有效。