iosapp-storeitunes-store

iTunesStore not showing update button for app


We have implemented Force Update Functionality inside our App.

And it’s working fine and showing Update alert in my App.

On clicking update i am opening the following url:

var strAppstoreLink = itms://itunes.apple.com/za/app/<My_App_Name>/<My_App_ID>?mt=8

using following code:

UIApplication.sharedApplication().openURL(NSURL(string:strAppstoreLink)!)

it opens and redirects to app redirects to iTunesStore

Snap of iTunesStore opened.

snap of iTunesStore opened

But it shows the Button text as OPEN not UPDATE.

but at same time when i open AppStore on the same phone at same time.

Snap of AppStore opened

Snap of AppStore opened

It shows the Button text as UPDATE.

Does anyone have an idea regarding same.


Solution

  • Updating the url as following worked for me.

    Changed

    itms://itunes.apple.com/za/app/<My_App_Name>/<My_App_ID>?mt=8
    

    To

    https://itunes.apple.com/za/app/<My_App_Name>/<My_App_ID>?mt=8