2 Replies
      Latest reply on May 5, 2020 12:27 PM by gchiste
      TheComet Level 1 Level 1 (0 points)

        This message keep apear in debug window but the app run fine:

        "SKView: ignoreRenderSyncInLayoutSubviews is NO. Call _renderSynchronouslyForTime without handler"

        Did anyone Know why this message keep apearing, and this is my view controller code where I think the message come from:

         

            override func viewDidLoad() {

                super.viewDidLoad()

             

                // Set scene size

                var factor = view.frame.size.height / sceneHeight

                if view.frame.size.width / factor < sceneWidth {

                    factor = view.frame.size.width / sceneWidth

                }

                let sceneSize = CGSize(width: view.frame.size.width / factor, height: view.frame.size.height / factor)

             

             

                 if let skView = self.view as! SKView? {

                    let gameScene = GameScene(size: sceneSize)

                    gameScene.scaleMode = .aspectFit

                    skView.presentScene(gameScene)

                 

                    skView.ignoresSiblingOrder = true

                    skView.showsFPS = true

                    skView.showsNodeCount = true

                    skView.showsDrawCount = true

                    skView.showsQuadCount = true

                    skView.showsFields = true

                    skView.showsPhysics = true

                 

                }

            }