How to show the Update application for latest version functionality in iOS app (swift 3)

Updated 26 October 2021

Save

Update application for latest version

Many times we need to update the application in app store (version update) but user did not get a proper information regarding the updation of application, when he/she opens the application.

so now we can give a functionality like when user open application and any updation in app store then user will get pop up message to update the application.

for this we need to follow some steps:

1: we need to find the app store application version and current application version ,

get application version:

get application version in app store:

2: Now combine this two and write a common method to check like that:

3: Now on your first view controller write this code on viewdidload()

4: if the user click on update then move to app store.

Note:

copy the url of your application in app store and write like that.

author
. . .

Leave a Comment

Your email address will not be published. Required fields are marked*


8 comments

  • Amir Thapa
    • kunal prasad (Moderator)
      • Akshay
  • vivekananda
    • kunal prasad (Moderator)
      • vivekananda
      • Arjun
  • phani
  • Start a Project


      Message Sent!

      If you have more details or questions, you can reply to the received confirmation email.

      Back to Home