A view subclass that renders a SpriteKit scene.
SDKs
- iOS 7.0+
- macOS 10.9+
- tvOS 9.0+
Framework
- Sprite
Kit
Declaration
class SKView : UIView
class SKView : NSView
Overview
You present a scene by calling the view’s present
method. When a scene is presented by the view, it alternates between running its simulation (which animates the content) and rendering the content for display. You can pause the scene by setting the view’s is
property to true
.