I have an app with a SpriteKit scene. But if I run it on iOS 10.0 I'll get some error:
2018-11-09 21:58:26.379 App[56426:2425030] -[SKEmitterNode scaleMode]: unrecognized selector sent to instance 0x7c27adf0
2018-11-09 21:58:26.387 App[56426:2425030] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[SKEmitterNode scaleMode]: unrecognized selector sent to instance 0x7c27adf0'
If I change View's class to UIView nothing will change.
Here is my scene setup:
if let scene = SKScene(fileNamed: "TandM") {
scene.size = self.view.frame.size
scene.scaleMode = .resizeFill
tandmScene.presentScene(scene)
}
But it's not trigger.
Full log.