Note that there are some explanatory texts on larger screens.

plurals
  1. POProviding updated apps using "Distributing Enterprise Apps for iOS Devices'?
    primarykey
    data
    text
    <p>I am distributing the iPad application using apple's <a href="http://help.apple.com/iosdeployment-apps/mac/1.1/#" rel="nofollow noreferrer">Distributing Enterprise Apps for iOS Devices.</a></p> <p>In my app, it is very important to update the older version to prevent access of expired information. Hence, I have implemented app update mechanism as follow.</p> <p>When user starts the app, each time I compare the installed build version code with one on the server by requesting the web service I have created and hosted on my own server. If there is update found, I ask user to upgrade the app via <code>UIAlertView</code> and when user taps on Update button, I fire the URL which points to .plist on my server as suggested <a href="https://stackoverflow.com/questions/13154619/update-in-house-apps-ios-enterprise-developer-program#comment18053560_13154837">here.</a></p> <p><code>NSString *appUpgradeUrl = [NSString stringWithString:@"http://domain.com/manifest.plist"];</code> <code>NSURL *url = [[NSURL alloc] initWithString:[NSString stringWithFormat:@"itms-services://?action=download-manifest&amp;url=%@", appUpgradeUrl]];</code> <code>[[UIApplication sharedApplication] openURL:url];</code></p> <p>Now an <code>UIAlertView</code> pops up on the screen and asks user for the confirmation with two buttons at the bottom, Cancel and Install. When user taps on Install, it simply gets replaced with newer version and when user taps on Cancel, it simply disappears and does nothing.</p> <p>Now here is my question: I want to force user to update the app as I said, it is very important to update to newer to prevent access of expired information. Unfortunately, I am not able to do so. I want to get notified of Cancel button's click event so that I can force user to update the app by asking again for the app update via <code>UIAlertView</code>. Can I do so?</p> <p>Let me know if there is any better idea than this to force for updating the app.</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload