当我尝试切换视图时,iOS 9现在更新错误

时间:2015-09-21 19:40:34

标签: ios objective-c xcode ios9

所以我在这样的视图中切换到一个新视图

-(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无效。"

有什么想法在这里发生?

0 个答案:

没有答案