All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.badlogic.gdx.pay.ios.apple.IosVersion Maven / Gradle / Ivy

There is a newer version: 1.3.7
Show newest version
package com.badlogic.gdx.pay.ios.apple;

import org.robovm.apple.foundation.Foundation;

enum IosVersion {
    ;

    static boolean is_7_0_orAbove() {
        return Foundation.getMajorSystemVersion() >= 7;
    }

    static boolean is_11_2_orAbove() {
        return ((Foundation.getMajorSystemVersion()  == 11 && Foundation.getMinorSystemVersion() >= 2)
                || Foundation.getMajorSystemVersion() > 11);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy