/** * Cached convenience method for {@link UIDevice#getSystemVersion()}. * @return the OS version that this app is running on. */ public static String getSystemVersionString() { if (majorSystemVersion == 0) fetchSystemVersion(); // Lazily fetch the device's system version. return systemVersionString; } /**
/** * @return the major part of the running OS version. */ public static int getMajorSystemVersion() { if (majorSystemVersion == 0) fetchSystemVersion(); // Lazily fetch the device's system version. return majorSystemVersion; } /**
/** * @return the minor part of the running OS version. */ public static int getMinorSystemVersion() { if (majorSystemVersion == 0) fetchSystemVersion(); // Lazily fetch the device's system version. return minorSystemVersion; } /**
/** * @return the patch part of the running OS version. */ public static int getPatchSystemVersion() { if (majorSystemVersion == 0) fetchSystemVersion(); // Lazily fetch the device's system version. return patchSystemVersion; }
/** * @return the minor part of the running OS version. */ public static int getMinorSystemVersion() { if (majorSystemVersion == 0) fetchSystemVersion(); // Lazily fetch the device's system version. return minorSystemVersion; } /**
/** * @return the major part of the running OS version. */ public static int getMajorSystemVersion() { if (majorSystemVersion == 0) fetchSystemVersion(); // Lazily fetch the device's system version. return majorSystemVersion; } /**
/** * @return the patch part of the running OS version. */ public static int getPatchSystemVersion() { if (majorSystemVersion == 0) fetchSystemVersion(); // Lazily fetch the device's system version. return patchSystemVersion; }
/** * Cached convenience method for {@link UIDevice#getSystemVersion()}. * @return the OS version that this app is running on. */ public static String getSystemVersionString() { if (majorSystemVersion == 0) fetchSystemVersion(); // Lazily fetch the device's system version. return systemVersionString; } /**
/** * @return the minor part of the running OS version. */ public static int getMinorSystemVersion() { if (majorSystemVersion == 0) fetchSystemVersion(); // Lazily fetch the device's system version. return minorSystemVersion; } /**
/** * @return the patch part of the running OS version. */ public static int getPatchSystemVersion() { if (majorSystemVersion == 0) fetchSystemVersion(); // Lazily fetch the device's system version. return patchSystemVersion; }
/** * Cached convenience method for {@link UIDevice#getSystemVersion()}. * @return the OS version that this app is running on. */ public static String getSystemVersionString() { if (majorSystemVersion == 0) fetchSystemVersion(); // Lazily fetch the device's system version. return systemVersionString; } /**
/** * @return the major part of the running OS version. */ public static int getMajorSystemVersion() { if (majorSystemVersion == 0) fetchSystemVersion(); // Lazily fetch the device's system version. return majorSystemVersion; } /**