if let version = Bundle.main.infoDictionary?["CFBundleShortVersionString"] as? String {
self.labelVersion.text = version
}
Related Posts
[iOS] 使用 CocoaPods 管理第三方套件
2 5 月, 2017
[iOS] how to decode base64 string to NSString?
26 5 月, 2017