简体   繁体   English

是否有在iOS上的Microsoft Edge中打开网站的URL方案?

[英]Is there a URL scheme to open a website in Microsoft Edge on iOS?

I'm developing an iOS app and would like to offer to open web links in the Microsoft Edge app if the user has it installed. 我正在开发一个iOS应用程序,如果用户安装了它,我想提供在Microsoft Edge应用程序中打开Web链接。 While the app will open with the microsoft-edge: scheme the result is that the app attempts to go to the full passed URL, microsoft-edge: protocol and all. 虽然应用程序将使用microsoft-edge: scheme打开,但结果是应用程序尝试转到完整传递的URL, microsoft-edge: protocol和all。 That obviously isn't a valid address so it just displays an error. 这显然不是一个有效的地址,所以它只是显示一个错误。

The URL schemes for opening a link in Chrome or Firefox are well documented but I can't find anything for Edge. 在Chrome或Firefox中打开链接的URL方案已有详细记录,但我找不到Edge的任何内容。 Is it possible to do this, or does the Edge app not support it at the moment? 是否可以这样做,或者Edge应用程序目前不支持它吗?

Use: 使用:

microsoft-edge-http:// or microsoft-edge-https:// microsoft-edge-http://microsoft-edge-https://

  • Unwrap the IPA file for Edge. 打开Edge的IPA文件。 An IPA is a ZIP archive so rename it to do it from Finder or unzip directly from command line. IPA是ZIP存档,因此将其重命名为从Finder执行或直接从命令行解压缩。

  • Find the Info.plist 找到Info.plist

  • Examine the Info.plist . 检查Info.plist If a custom URL scheme exists it will be listed under CFBundleURLTypes > CFBundleURLSchemes 如果存在自定义URL方案,则它将在CFBundleURLTypes > CFBundleURLSchemes

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

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