Saturday, November 30, 2013

On the updated version of the problem, call the heroes

on the iPhone development process, how to achieve version of the update.

Want to achieve is: Open the program, if there is a new version of it will pop up, it will install the new version after the user chooses to install the new version.

Hope heroes wing it!
Reply:
From the top!
Wait heroes appear!
Reply:
If you are into the appstore, and after playing the prompts that pop up to your operation appstore link inside the other things you are not doing.
Reply:
I also want to know, I want to publish to the app store if it should be taken over by him, the program itself can not do anything. Unlike the android that can detect and then download and install their own.
Reply:
Need server support
Reply:
The updated version of it to determine how
Reply:
With the server to determine how to achieve the updated version of it
references, 4th Floor cxsjabcabc reply:
need server support

Reply:
Why use server ah? I have such a variety App Update

1, with the POST method to send the request:

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

2, the data needed to resolve the data obtained from the response. Because the information obtained from the appstore query is JSON format, so you need parsed.
json: {......
......
......
version = "1.4";
......
......
}
----------------------------
As for how to parse Json, this does not repeat.

Order: Usually I do not reply to old posts, today saw someone Fudge little friends joined the line, could not help but make an exception ......

Reply:
ybh37 master ah
Reply:

I'm not ......
CSDN have bothered to master it
Reply:
@ Ybh37 personally believe it is reasonable
serverRequest http://itunes.apple.com/lookup?id = Your application ID, will return a lot less than the information, but just need the version number, the waste flow. Although not much, but every time you open the application must request such a lot of data over the optimal solution is obviously not a
Reply:
reference to the 7th floor of replies:
Why use server ah? I have such a variety App Update

1, with the POST method to send the request:

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

2, the data needed to resolve the data obtained from the response. Because the information obtained from the appstore query is JSON format, so you need parsed.
json: {......
......
......
version = "1.4";


.........


This is just one solution.

No comments:

Post a Comment