从 Watch App 打开 Safari iOS App

问题描述:

是否可以在 Apple Watch 应用程序中单击某个链接时在 iPhone 中打开 safari?

Is it possible to open the safari in iPhone when I click on some link in Apple watch Application?

这只有在 iOS 应用程序恰好在前台运行时才有可能.如果您使用 WatchConnectivity sendMessage API 在后台唤醒 iOS 应用程序,那么您将无法打开 URL,因此无法启动 Safari.

This is only possible if the iOS app happens to be running in the foreground. If you use the WatchConnectivity sendMessage API to wake the iOS app up in the background then you won't be able to open URLs and therefore not launch Safari.