从 Watch App 打开 Safari iOS App [英] Open Safari iOS App from Watch App

查看:68
本文介绍了从 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.

这篇关于从 Watch App 打开 Safari iOS App的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆