IOS steps to check if AppStore has a new version

1. Find the trackId of your APP in the AppStore

If you don't know, you can pass:

 

http://itunes.apple.com/search?term=your application name&entity=software

 to get the JSON result

trackViewUrl: download details page
trackId: the APP ID you are looking for

 

2. Get APP version information JSON

http://itunes.apple.com/lookup?id=Your App ID

 

3. Parse JSON format

For example: http://itunes.apple.com/lookup?id=375380948

 Return data:

{
    "resultCount": 1,
    "results": [
        {
            ...
            "trackCensoredName": "Apple Store",
            "trackViewUrl": "https://itunes.apple.com/us/app/apple-store/id375380948?mt=8&uo=4",
            ...
            "version": "3.7.1",
            ...
            "trackName": "Apple Store",
            "trackId": 375380948
	    ...
        }
    ]
}

 in

trackViewUrl: APP download details page
version: the current version number
trackName: APP name
trackId:APP ID

 

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=326641313&siteId=291194637