简体   繁体   English

我可以为我的 iOS 应用程序提供多个 url 方案吗?

[英]Can I give multiple url scheme for same for my iOS application?

I want to add a second URL Schemes for my application for the same target in Xcode .我想为我在 Xcode 中的相同目标的应用程序添加第二个 URL 方案 After unsuccessful attempts I am trying to add through the following approach by adding the URL schemes separated by comma (,).Is my approach correct?尝试不成功后,我试图通过以下方法添加以逗号 (,) 分隔的 URL 方案。我的方法是否正确? Can iOS application have multiples URL schemes ? iOS 应用程序可以有多个 URL 方案吗?

Please find the image below:请在下面找到图片: 在此处输入图像描述

Click on the + button under 'additional url type properties' to add a new url scheme.单击“其他 url 类型属性”下的 + 按钮以添加新的 url 方案。

The 's' in 'URL Schemes' is misleading. “URL Schemes”中的“s”具有误导性。 It does not indicates you can enter multiple schemes, but that you enter a prefix for some urls.它并不表示您可以输入多个方案,而是为某些 url 输入前缀。

https://developer.apple.com/documentation/xcode/allowing_apps_and_websites_to_link_to_your_content/defining_a_custom_url_scheme_for_your_app https://developer.apple.com/documentation/xcode/allowing_apps_and_websites_to_link_to_your_content/defining_a_custom_url_scheme_for_your_app

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM