通过深层链接到iOS模拟器? [英] Pass deep link into iOS Simulator?

查看:92
本文介绍了通过深层链接到iOS模拟器?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想找到一种更简单的方法来在iOS模拟器中调用深层链接.

I would like to find an easier way to call deep links in the iOS simulator.

在Android上,您可以使用ADB通过控制台将链接通过管道传递到模拟器中.

On Android you can use ADB to pipe links into the simulator by using the console.

是否有类似的方法或解决方法来打开与最新的iOS模拟器的深层链接?

Is there a similar way or a workaround to open deep links with the latest iOS Simulator?

推荐答案

您可以在终端机中输入:

You can type this into your Terminal :

xcrun simctl openurl booted <INSERT_URL_HERE>

您甚至可以使用内置的共享扩展程序(从Finder到iOS模拟器)共享文档.

You can even share documents using the builtin Share Extension from the Finder to the iOS Simulator.

这篇关于通过深层链接到iOS模拟器?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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