将深层链接传递到iOS Simulator [英] Pass deep link into iOS Simulator

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

问题描述

我想找到一种更简单的方法来在iOS模拟器中调用深层链接.
在Android上,您可以使用ADB通过控制台将链接通过管道传递到模拟器.
使用最新的iOS模拟器是否有类似的方法或解决方法?

I would like to find an easier way to call deep links in the iOS simulator.
On Android you can use ADB to pipe links into the simulator by using the console.
Is there a similar way or a workaround to do that 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 Simulator的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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