在Apple Watch模拟器中打开一个网页

问题描述 投票:0回答:1

watchOS 5允许从Mail或Messages打开网页,但这些应用程序不在Simulator中。

我尝试使用xcrun simctl openurl <device> <URL>,它可与iPhone模拟器配合使用,但使用Watch会返回错误:

An error was encountered processing the command (domain=NSOSStatusErrorDomain, code=-10814):
The operation couldn't be completed. (OSStatus error -10814.)

This error means“启动服务数据库中的任何应用程序都不符合输入条件。”

有没有办法在Apple Watch模拟器中打开网页?

ios ios-simulator watchkit apple-watch
1个回答
0
投票

这是不可能的,according to WebKit’s Wenson Hsieh

最新问题
© www.soinside.com 2019 - 2025. All rights reserved.