In iOS 8.4, our game is crashing when trying to initialize an SKVideoNode
via filename, works just fine in iOS 9. Apple documentation states that the following method is supported in 8.0 and later (here):
SKVideoNode *introVideoNode = [SKVideoNode videoNodeWithFileNamed:@"intro.mp4"];
But crashes with:
+[SKVideoNode videoNodeWithFileNamed:]: unrecognized selector sent to class
Now, everything works fine in both iOS 8 and 9 if I initialize with an AVPlayer
instead:
SKVideoNode* introVideoNode = [[SKVideoNode alloc] initWithAVPlayer:player];
Has anyone else encountered this? Is this a SpriteKit bug with iOS 8?