Technical Q&A QA1904

Specifying the renderer for SpriteKit and SceneKit

Q:  How can I specify the renderer for SpriteKit and SceneKit?

A: By default, SpriteKit and SceneKit render with Metal in iOS 9 and OS X El Capitan, however, there is a facility to use OpenGL.

To do that:

  1. Edit your app's Info.plist

  2. Add the PrefersOpenGL key with a bool value of YES



Document Revision History


DateNotes
2015-10-08

New document that explains how to fall back to the OpenGL renderer for SpriteKit and SceneKit.