I don't understand, why i need ver开发者_如何转开发sioning in my IPhone apps.Could anyone explain.
Apple uses the version number when you submit an update to your app. If the update you submit does not have a version number greater than the currently shipping app, then Apple will not accept the update.
That is the only technical reason.
There are other reasons:
- it gives you a way to track issues against different releases
- it allows users to know whether they are up to date Etc
If course if you are never going to update your app then you can just set the version to 1.0 and forget about it...
You don't have to support different versions - you can just choose one (probably the latest) and just develop for that. However, it will limit the number of devices that can run your application.
Read the accepted answer to this question (the one with the green tick next to it) for information about supporting different versions of iOS :
How To Make iPhone App compatible with multiple SDK (firmware) versions
精彩评论