ios - 从 iOS 打开 WatchKit 应用程序

标签 ios xcode watchkit apple-watch

我想直接从我的 iPhone 将 WatchKit 应用程序打开到前台(如果可能的话,打开 Glance)。

我一直在玩它,但没有成功。也许有人找到了一些解决方法?

最佳答案

iPhone 应用程序无法在当前 WatchKit 版本中启动 Apple Watch 应用程序。唯一可能的方法是从后台的 WatchKit 应用程序启动 iPhone 应用程序,或者使用 Handoff 在两个配套应用程序之间快速移动。

注意:最好的方法是始终等待新版本。 WWDC 2015 将于 6 月 8 日至 12 日在旧金山举行,他们将推出 WatchKit 2 以及新版本的 OS X 和 iOS。 WatchKit 2 将支持缺失的 API 和 Apple Watch native 应用程序(在 Apple Watch 上运行,无需附近有 iPhone)。

关于ios - 从 iOS 打开 WatchKit 应用程序,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/30450889/

相关文章:

iOS 8 以一种奇怪的方式崩溃

ios - 按钮文本出现在框架之外

ios - 带有 Swift 5.0 编译器的 Xcode 10.2 - 协议(protocol)继承问题

swift - 线程1 : Signal SIGABRT in Swift 3

ios - 是否可以 "pause"线程并让另一个操作先进行?

ios - 使用视觉格式约束时, subview 未显示在 ScrollView 中

iOS 网页错误通过蜂窝数据而不是通过 Wifi?最近更改了 AT&T 蜂窝网络?

ios - 在 WatchKit 中将对象堆叠在彼此之上

ios - Apple Watch、几个目标和共享的 Watchkit 扩展/Watckit 应用程序目标

ios - 按下主页按钮时如何在 spritekit [SWIFT] 中暂停和重新启动 NSTimer.scheduledTimerWithTimeInterval?