Ios App Version Number
Iboutlet weak var versionlabel.
Ios app version number. Tap the app you want to see the version number for. Select general iphone storage. Open the settings app on your iphone ipad or ipod touch.
This works only for third party apps. Fortunately we can write a small extension to uiapplication that reads the info plist file and returns a version number automatically. Version cfbundleshortversionstring string ios os x specifies the release version number of the bundle which identifies a released iteration of the app.
Version number cfbundleshortversionstring shown as version in xcode also called the marketing version. In ios 11 the method described also works for apple provided stock apps. Below that you ll see the size of the app itself and the size of the data stored by that app.
Version and the build numbers work together to uniquely identify a particular app store submission for an app. Similarly ios 13 5 5 was renamed to ios 13 6 in beta 2 with the introduction of new features for the health app. Ios 8 0 1 was pulled back by apple because of issues with cellular service and touch id on iphone 6 and iphone 6 plus units.
The release version number is a string comprised of three period separated integers. All ios apps must store an app version number in their info plist file but there s no build in way to get that as a string you can use in your code. Using this library reading app version and build number would be as easy as this.
Step 3 attach iboutlets for the two labels iboutlet weak var buildlabel. Build number. Step 1 open xcode new project single view application let s name it showbuildandversion.