oscarimonbox
8/6/2018 - 8:18 AM

OS version sistema operativo

func getOSInfo()->String {
    let os = ProcessInfo().operatingSystemVersion
    return String(os.majorVersion) + "." + String(os.minorVersion) + "." + String(os.patchVersion)
}