Force Update for an iOS app in Appstore when new version is available

Want to implement force update for which we require the appstore version of iOS app. When I checked in apple forum https://developer.apple.com/forums/thread/113983 if we will use the api the app will be rejected. Can we integrate the following api in the app which is currently in appstore. http://itunes.apple.com//lookup?bundleId=(identifier)?

You cannot force user to update. It will be done automatically, only if user has chosen so. https://developer.apple.com/forums/thread/107576

May be you could keep on your server the last available version number.

When app launches, it would get this number and, if found and if more recent than the installed app version, then alert user.

But closing the app after this could be a cause of rejection.

Thanks Claude we will not force user to update.But my question is whether we can use the api https://itunes.apple.com/%7Bcountry%7D/lookup?bundleId=(identifier) in our iOS app?

Understood. No, I don't think there will be a problem if you just check what is the available version of the app on the appstore and do not force user to upgrade.

If needed, more details here: https://medium.com/usemobile/get-app-version-from-app-store-and-more-e43c5055156a

Force Update for an iOS app in Appstore when new version is available
 
 
Q