所以我在这样的视图中切换到一个新视图
-(void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event
{
SKTransition *doors = [SKTransition fadeWithColor:[UIColor whiteColor] duration:.5];
GameScene *next = [[GameScene alloc]initWithSize:self.size];
next.highScore = self.highScore;
[self.view presentScene:next transition:doors];
self.timer.invalidate;
}
Xcode现在给我这个错误
" CAEAGLLayer:0x7b1acc80:调用-display无效。"
有什么想法在这里发生?