Answers for "swiftui current version"

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 "Swift"

Browse Popular Code Answers by Language