WKInterfaceSKScene to show SpriteKit debug information

I’m using SpriteKit on WatchOS and want to see the FPS, nodes and physics bodies.
However, the usual way of doing this is with UIView.showsFPS (etc.)
Under WatchOS, I don’t have a view.
My structure is as per the default Apple structure:

-> WKInterfaceSKScene
-> SKScene

ie. WKInterfaceSKScene is in place of the UIView and calling the scene but doesn’t have a showsFPS value.

Is there a way to show the FPS etc?

(Trivia: the actual bug I’m trying to fix is with physics bodies of scaled shapes not contacting. I understand physics bodies don’t scale, but want to see exactly what is happening – correction, they do scale, I had them in the wrong place.)



Please signup or login to answer this question.

Signup for an account and start participating in our site today!

Social Signup

You can also login with your Facebook, Twitter or Linkedin account

Log in with Facebook