How to Test a Specific Device Before Loading SKScene Files

Learn how to test for a specific device before loading a Sprite Kit scene file (SKScene). This is an important lesson for iOS and tvOS developers as it allows you to make different GUI / layouts via the scene editor, without resorting to layout changes in the Swift code itself. We’ll also discuss how to properly get the scene width and height.

 




Become part of the CartoonSmart Team with our Affiliate Program

Make recurring money when you refer a subscriber. 30 day tracking. Commissions 33%-50%!


Uh oh, missing your affiliate ID. Create one real quick