我在GameScene工作,但我想转换到View Controller3。我目前有
if ball.position.y <= block1.position.y - 70 {
let vc = self.storyboard.instantiateViewControllerWithIdentifier("View Controller3") as! ViewController3
self.presentViewController(vc, animated: true, completion: nil)
}
但这给了我错误
“类型'价值'GameScene'没有成员'故事板'”