个人应用程序的URL方案 [英] URL Schemes to personal apps

查看:151
本文介绍了个人应用程序的URL方案的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有没有一种方法可以使用URL方案打开另一个应用程序(不是像地图这样的常见应用程序),而无需访问该应用程序的源代码?我在一家拥有多个应用程序的公司工作,他们要求我构建另一个应用程序,以将所有其他应用程序串联在一起.如果确实需要,我可以给老板发送电子邮件,并询问设置密码的问题.

Is there a way to use URL schemes to open another app (not a common one like maps), without having access to the source code of that app? I'm working for a company that has several apps, and they've tasked me to build another app that will concatenate all of their other apps. If I really need to, I can email my boss and ask about setting up the codes.

如果有帮助,我正在Swift 2中使用XCode 7.3.1.

If it helps, I'm using XCode 7.3.1, in Swift 2.

顺便说一句,我检查了类似的问题,但找不到任何问题.如果您确实找到了一个,请发送带有链接的评论,如果答案对另一个问题有所帮助,我将删除此问题.

By the way, I checked for similar questions, but couldn't find any. If you do find one, send a comment with the link and I'll delete this question if the answers the the other question help.

提前谢谢!

推荐答案

将应用程序下载到设备上(同步到iTunes以获取IPA)或iTunes.右键单击并选择在资源管理器或查找器中显示.

Download the application onto your device (sync to iTunes to get the IPA) or to iTunes. Right click and choose show in explorer or finder.

现在您有了IPA.将扩展名更改为.zip并解压缩.打开有效内容文件夹.

Now you have the IPA. Change the extension to .zip and unzip it. Open the payload folder.

进入应用程序的文件夹(在OSX上右键单击显示软件包内容".

Go into the application's folder (Right-Click Show Package Contents on OSX).

打开"Info.plist",然后查找:URL Types键.其中的子键之一将打开应用程序.

Open "Info.plist" and look for: URL Types key. One of the sub-keys in there will open the application.

更新:

  • 在任何iOS设备上下载该应用.
  • 将其插入计算机.
  • 从Mac Appstore下载Apple Configurator 2.

下一步,打开苹果配置器,右键单击您的iOS设备,然后按添加".然后找到您要下载的应用程序.找到它后,双击它,它会告诉您该应用程序已安装.请勿单击弹出窗口上的任何选项.

Next open apple configurator and right click on your iOS device and press "Add".. then find the app you want to download. Once you find it, double click it and it will tell you that the app is already installed. DO NOT click any of the options on the popup.

打开一个终端并输入:

cd ~/Library/Group Containers/K36BKF7T3D.group.com.apple.configurator/Library/Caches/Assets/TemporaryItems/MobileApps/

然后键入:open .打开目录..现在您应该看到.ipa文件.

Then type: open . to open the directory.. You should now see the .ipa file..

这篇关于个人应用程序的URL方案的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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