4

I am trying to extend a SpriteKit-based iPhone app to the Apple Watch, however given that Watch extensions do not use UIKit and UIViews (instead using WKInterfaceObject and its subclasses), I am not sure how I can setup my SKView and SKScene within the Watch extension.

HGDev
  • 2,203
  • 2
  • 17
  • 23

2 Answers2

3

This is old, but just wanted to mention that in watchOS 3 you can use SpriteKit and SceneKit.

UberJason
  • 3,063
  • 2
  • 25
  • 50
2

You can't use SpriteKit in a WatchApp. You can ONLY use the UI elements provided for a Watch App. You can't create custom UI elements. The closest you can get is to create custom images in your watch extension running on the iPhone and set those in your Watch UI. See Watchkit animation implementations: clock face, animated charts, circular progress bar for more info.

Community
  • 1
  • 1
Stephen Johnson
  • 5,293
  • 1
  • 23
  • 37