How to force user to upgrade app if closing app is not a good practice?

Hi,

I need to validate if installed app is deprecated (I check it with a request to my server). In that case I have to show an alert "You app is old" and close app. It should happen until user upgrade app (and the current version changes). The problem is about "closing app". I read apple docs and is not a good practice. So, how to procced with this? The user must not continue.


Thanks.

You cannot force the user to update the app. I guess you could display some UI that does nothing, as long as App Review doesn't find out about it. The user would press the Home button to leave the app. But you can't force quit or programmatically force an update.


It would be a much less user-hostile experience if your app did continue to run even when there is a newer version available. Personally, I tend to delete such apps that want to be in control of everything. But maybe that's just me.

>I read apple docs and is not a good practice. So, how to procced with this?


It's always a challenge when someone says "I know I can't do this, but how do I do this?"


Right...not good. Your best option is to make the new version so appealing users will jump at upgrading. Otherwise, iOS store apps may not be the right distribution method for your current needs.

What about showing an UIAlertView that locks the screen?

How to force user to upgrade app if closing app is not a good practice?
 
 
Q