Make sure developers have had such trouble:Version submitted wrong!
Version of the compiler and testing more,When the inevitable submitted only to find the wrong version number。Or is the background version number is correct,Reception forget to change the version number。In fact,Allows reception automatically obtain the version number of the background data,For example, this:
|
let info = Bundle.main.infoDictionary! version.text = "Version \(info["CFBundleShortVersionString"]!) (build \(info["CFBundleVersion"]!))" |
But
Background version still have to manually write ah! It fills the major version number,Different programs have their own different style,This is not a number and some even skipped,Then structure[……]
Click link to continue reading...