Answers for "how to get current app version swift"

0

swift 5 get app version

import Foundation

let versionString = Bundle.main.object(forInfoDictionaryKey: "CFBundleShortVersionString") as? String ?? "Default String to shut up warning"
let buildString = Bundle.main.object(forInfoDictionaryKey: "CFBundleVersion") as? String ?? "Default String to shut up warning"
Posted by: Guest on October-01-2021

Code answers related to "how to get current app version swift"

Code answers related to "Swift"

Browse Popular Code Answers by Language