• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
UIViews in SpriteKit Apps
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

UIViews in SpriteKit Apps


  • Subject: UIViews in SpriteKit Apps
  • From: Charles Jenkins <email@hidden>
  • Date: Tue, 02 Feb 2016 22:00:45 -0500

When I’ve previously dabbled a bit with iOS programming, it was with normal UIView forms and controls.

Now I’m writing my first SpriteKit game, and I want to give users the ability to select their own background music. Can I use “normal” UIViews to do that, and have the standard media pickers?

I tried to do web research on mixing SpriteKit and UIKit, and the hits I found were all about using UIKit objects on top of SpriteKit scenes. This isn’t exactly what I want… I’m thinking of presenting a “menu” SpriteKit SKScene with an SKSpriteNode button on it that says “Set Background Music,” and when the user touches that node, I then switch to an entirely new screen for picking media.

Can I do that, then transition back to my SKScene after the user selects a song? How do I do that?

-- 

Charles
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden


  • Follow-Ups:
    • Re: UIViews in SpriteKit Apps
      • From: Quincey Morris <email@hidden>
  • Prev by Date: Re: UISearchBar covers status bar
  • Next by Date: Easier way to make NSView subclasses refresh on a property change?
  • Previous by thread: Re: UISearchBar covers status bar
  • Next by thread: Re: UIViews in SpriteKit Apps
  • Index(es):
    • Date
    • Thread