ios - 如何在 WatchKit 扩展应用程序中实现 SpriteKit?

标签 ios xcode sprite-kit watchkit apple-watch

我正在尝试将基于 SpriteKit 的 iPhone 应用程序扩展到 Apple Watch,但是鉴于 Watch 扩展不使用 UIKit 和 UIViews(而是使用 WKInterfaceObject 及其子类),我不确定如何设置我的 SKView 和Watch 扩展中的 SKScene。

最佳答案

这是旧的,但只是想提一下,在 watchOS 3 中你可以使用 SpriteKit 和 SceneKit。

关于ios - 如何在 WatchKit 扩展应用程序中实现 SpriteKit?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/28890060/

相关文章:

ios - iOS 应用程序的 Google Cloud Platform API key 限制如何运作?

ios - 如何在 Sprite 套件中制作滚动背景

ios - SpriteKit Swift 节点数问题

ios - 在 Xcode 中刷新 iPhone 应用程序后 Sprite 显得巨大

ios - 从 Parse localDataStore 查询对象

ios - 如何在 UITextView 中显示 HTML 内容中的 https 图像?

ios - 在 UITextView 中输入链接时显示 URL 预览

iphone - NSTimer 可有效生成 sigabrt

ios - 将数据从详细 View 传递到主视图? (UITableView) swift

ios - 带有目标模拟器的 XCode 5 权利的编译警告