SpriteKit: why does SKView disappear at one height but appears at another height? What's the maximum height for SKView?
问题 The code below shows a SKView until you change skHeight to 2050 or some higher value like 5000. 1) How can you make the SKView appear even at heights of 2050 or 5000? 2) What's the maximum size for SKViews ? To reproduce: 1) Run the code below. You will see the SKView represented as a gray window. 2) Change skHeight to 2050 or 5000. The SKView no longer appears. class TestViewController: UIViewController { override func viewDidLoad() { super.viewDidLoad() // Create SKView let skHeight =