我可以在后台更新iOS企业应用程序,就像App Store应用程序一样吗? [英] Can I update an iOS Enterprise App in the background like an App Store app can?

查看:348
本文介绍了我可以在后台更新iOS企业应用程序,就像App Store应用程序一样吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个iOS企业应用程序,我们无线分发到我们的设备。目前,该应用程序每天轮询一次我们的服务器以查看是否有应用更新。如果有,我们尝试通过让应用程序调用以下代码来安装它:

I have an iOS enterprise app that we are wirelessly distributing to our devices. Currently the app polls our server once a day to see if there is an app update. If there is, we try to install it by having the app call the following code:

        NSURL *installUrl = [NSURL URLWithString:[NSString stringWithFormat:@"itms-services://?action=download-manifest&url=%@", plistUrl]];
        [[UIApplication sharedApplication] openURL:installUrl];

这会导致应用程序通过警告对话框提示用户安装更新。如果他们点击安装,应用程序将关闭并下载并安装更新。

This causes the app to prompt the user with an alert dialog to install the update. If they click install, the app closes and the update is downloaded and installed.

我想知道iOS 7的企业应用程序是否有类似于AppStore的自动更新?我希望能够更新我们的应用程序,而无需用户按下更新按钮,并且能够在用户无需等待安装时更新。

I am wondering if there is anything for enterprise apps for iOS 7 similar to the AppStore's automatic updates? I would like to be able to update our app without the user having to press an update button and be able to update at a time when the user won't have to wait for it to install.

推荐答案

这些问题的答案会给你一个正确答案:

The answers in these questions will give you a correct answer:

  • Auto-updated iOS application for enterprise distribution
  • Update In-House Apps -- iOS Enterprise Developer Program
  • Updating iOS apps automatically with an MDM + Enterprise license

有一个解决方案,但通过<强>斯蒂芬麦克马洪,但我没有测试它。

There is a solution for this though by Stephen McMahon, but I did not test it.

http://www.techhui.com/profiles/blogs/auto-updating-enterprise-or-ad-hoc-ios-applications

这篇关于我可以在后台更新iOS企业应用程序,就像App Store应用程序一样吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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