According to this answer we need to know the version of ios. How can I achieve it using libgdx's robovm backend?
When running under RoboVM java.lang.System.getProperty("os.version")
will return the iOS version.
Easier to use, if you are in iOS module:
import org.robovm.apple.foundation.Foundation;
Foundation.getMajorSystemVersion()
// and
Foundation.getMinorSystemVersion()
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With