iOS 8 企业应用程序更新

标签 ios ios8 enterprise in-house-distribution

我正在开发一个分布式 itms-services 的企业应用程序。

此应用程序有一项服务,可以让用户知道何时有更新,因此当用户按下更新按钮时,应用程序会调用 itms-services 来下载并安装最新版本。

直到 iOS 8,当从应用程序调用 itms-services 时,系统将关闭应用程序并开始更新过程。现在有一个恼人的变化,应用程序不再关闭,用户不知道更新过程已经开始。

我想在更新开始后关闭我的应用程序,就像在 iOS 8 之前一样,但我不知道这是否可能,我想添加一个反馈说应用程序已更新,但事实并非如此对我来说似乎是一个很好的解决方案。

有人知道更好的解决方案吗?

更新:此应用程序也在 App Store 中分发,因此我无法使用任何可能导致 Apple 拒绝的内容。

谢谢

最佳答案

您可以调用

[[UIApplication sharedApplication] performSelector:@selector(suspend)];

打开您的 itms URL 后立即将应用程序置于后台。

关于iOS 8 企业应用程序更新,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/26240969/

相关文章:

swift - iOS 8 : How can I make a dial pad interface?

swift - 应用程序崩溃 - dyld : Symbol not found: _OBJC_CLASS_$_UITraitCollection

iphone - 我可以让我的 iOS 应用程序出现在锁定屏幕的左下角吗?

authentication - 企业 SSO 和身份管理/建议

iOS 企业发行版名称更改

ios - swift 3 : Is there a way to cast an object to a class and protocol at the same time?

ios - 在后台 Swift 中发送用户的位置

iphone - 在我单击 iPad Safari 浏览器中的选择元素(多选表单)之前,选项不会显示

ios - UIPopoverPresentationController : multiple permittedArrowDirections order priority

ios - Unable to Download 'AppName' 此时无法下载