I'm having a bit of an issue with a game that I'm currently coding in Swift. Basically, I created all of the UI in a storyboard, with corresponding view controllers for each screen (main menu, settings, store, play, etc etc). In the play view controller, I present an SKScene to handle all of the game logic, along with the storyboard UI. The storyboard UI is working just fine, but I'm trying to create some SKSpriteNodes in the SKScene, and they're spawning behind the main background (defined in the storyboard).
I've already tried manually modifying the SKSpriteNodes' z indexes, but to no avail. If anyone has any idea as to how I could solve this issue, that'd be great.
Thanks!