Can I update an iOS Enterprise App in the background like an App Store app can?
Posted
by
lehn0058
on Stack Overflow
See other posts from Stack Overflow
or by lehn0058
Published on 2013-11-07T14:34:11Z
Indexed on
2013/11/07
15:53 UTC
Read the original article
Hit count: 290
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.
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.
© Stack Overflow or respective owner