Check if my app has a new version on AppStore

I would like to manually check if there are new updates for my app while the user is in it, and prompt him to download the new version. Can I do this by checking the version of my app in the app store - programatically?


I found a solution by Checking response of my app itunesRL, i want to confirm if there is an official method, if not can i use this methode safely.


https://stackoverflow.com/questions/6256748/check-if-my-app-has-a-new-version-on-appstore

Replies

Based on the solutions I saw on stackoverflow I've made my own version.

https://github.com/acarolsf/checkVersion-iOS
Just an FYI. I use to do this until one time I submitted an update and it was rejected for programmatically checking for updates. That was a number of years ago so policies may have changed and I haven't tried it since to find out.

Hi Is this solution working and able to retrieve the latest version as soon as the app is made available on the App Store? I tried using the same url, but I am not seeing that this is returning the latest version on the store even though the App Store shows the new version. It is working fine only after 24hrs and it indicates iTunes will not get updated that immediately after the app is released on App Store.

https://itunes.apple.com/lookup?bundleId=

Is this working for you and if yes, am I doing something wrong in the above url? What is the alternative if this is not working?

Hello, guys. The issue is still relevant. Is it safe and reliable to fetch own update version from the app?