ArcadeHighScoreLayer.m
我正在尝试使用添加 UITableView
@implementation ArcadeHighScoreLayer
{
UITableView *table;
int count[N_OF_SECTION];
}
- (void) onEnterTransitionDidFinish
{
[[[CCDirector sharedDirector] view] addSubview:table];
}
但是,我收到警告
"CCDirector may not respond to view"
and my code through an exception "[CCDirectorDisplayLink view]: unrecognized selector sent to instance 0x7c66c80
2013-06-13 17:50:08.394 Games[6068:12203] *** Terminating app due to uncaught exception of class '_NSZombie_NSException'
libc++abi.dylib: terminate called throwing an exception** "
为什么 ?!如何解决这个错误?!谢谢!