[iOS] How do I get the App version and build number using Swift? Posted on 2018-01-23 if let version = Bundle.main.infoDictionary?["CFBundleShortVersionString"] as? String { self.labelVersion.text = version }