正在下载“mobileconfig”来自应用程序的文件 [英] Downloading "mobileconfig" file from an App
问题描述
我的组织正在创建一个应用程序,它将在移动配置文件中列出某些wifi热点,这样当用户在范围内时,用户无需为这些wifi写入密码。
我知道这可以使用 .mobileconfig
文件完成。但我有严重怀疑。
My org is creating an app, that will have certain wifi hotspots listed in a mobile config file, so that the user does not have to write the password for these wifi when he is in range.
I know this can be done using .mobileconfig
file. But I have serious doubts.
以下是关于该应用的几个问题:
Here are few questions regarding the app:
-
可以以编程方式创建
.mobileconfig
文件。我无法找到如何以编程方式创建此链接的链接(不使用iPCU)。
Can
.mobileconfig
file be created programatically. I cannot find a link to how to cretae this programatically (not using iPCU).
Apple是否允许创建的应用程序.mobileconfig
文件并要求用户下载并安装它,以便更改wifi设置?
Will Apple allow an app that creates .mobileconfig
file and asks the user to download it and install it, so as to change the wifi settings?
正在让用户下载这个 .mobileconfig
文件只能通过Safari或Mail?有没有办法直接从应用程序打开此文件到设置屏幕?
Is making the user download this .mobileconfig
file only possible via Safari or Mail? Is there any way that this file be opened directly from the app to the settings screen?
提前致谢。 :)
推荐答案
1)是的,它可以。它可以创建为XML文件。实际上,您可以在文本编辑器中打开并编辑未签名的 .mobileconfig
文件并编辑字段。请记住,如果已签名,则对文件进行任何编辑都需要您重新签名。
1) Yes it can. It can be created as an XML file. In fact, you can open and edit an unsigned .mobileconfig
file in a text editor and edit the fields. Keep in mind that if it's signed then any edits to the file will require you to re-sign it.
2)Apple将允许下载并安装a的应用程序。通过Safari的mobileconfig,我在App Store上看过一个这样做。
2) Apple will allow an app that downloads and installs a .mobileconfig via Safari, I've seen one on the App Store that does this.
3)Safari + Mail是打开它们的唯一方法(在iOS上)。
3) Safari + Mail are the only ways to open them(on iOS).
这篇关于正在下载“mobileconfig”来自应用程序的文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!