【问题标题】:Universal Links on iOS SimulatoriOS 模拟器上的通用链接
【发布时间】:2020-06-16 12:14:23
【问题描述】:

我可以在模拟器上测试我的 ios 应用程序的通用链接的实现,而无需上传关联文件吗?我正在使用“xcrun simctl openurl”打开链接。

【问题讨论】:

    标签: ios swift ios-simulator ios-universal-links


    【解决方案1】:

    您可以使用 URL 方案进行检查,例如在 URL 方案中添加前缀。 打开Safari添加您的前缀+最后添加“://”然后检查 像“前缀://” 您也可以查看以下链接

    https://developer.apple.com/documentation/uikit/inter-process_communication/allowing_apps_and_websites_to_link_to_your_content/defining_a_custom_url_scheme_for_your_app

    【讨论】:

    • 嘿,谢谢你的回答,但我正在尝试使用通用链接。
    猜你喜欢
    • 2020-12-15
    • 1970-01-01
    • 1970-01-01
    • 2022-06-30
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2018-03-22
    相关资源
    最近更新 更多