How do i get build/version number of an iOS App?

By using the below code we can get the version of the app

 

let version = Bundle.main.infoDictionary?["CFBundleShortVersionString"] as? String

By using the below code we can get the build of the app

let build = Bundle.main.infoDictionary?["CFBundleVersion"] as? String

 

 

 


Flutter Questions

Android Questions

Python Questions

Java Questions