According to this answer we need to know the version of ios. How can I achieve this with libgdx robovm backend?
When launched under RoboVM java.lang.System.getProperty("os.version") iOS version will return.
java.lang.System.getProperty("os.version")
Easier to use if you are in the iOS module:
import org.robovm.apple.foundation.Foundation; Foundation.getMajorSystemVersion() // and Foundation.getMinorSystemVersion()
import org.robovm.apple.foundation.FoundationVersionNumber; if (FoundationVersionNumber.getVersion() < FoundationVersionNumber.Version_iOS_8_0)
Source: https://habr.com/ru/post/957561/More articles:Modal modal url - javascriptBootstrap columns above each other - twitter-bootstrapHow to get * the actual frame size for a UIScrollView in a UINavigationController in iOS 7? - objective-cHaskell, GADT and -fwarn-incomplete templates - haskell.NETFramework, version = v4.5 framework is a higher version than the current target environment ".NETFramework, Version = v3.5" - c #DNS routing (route 53) to a load-free elastic beanstitch application - amazon-web-servicesNuGet does not copy configuration file - buildSegmentation error from a function that is not called at all - cRaspberryPI Python WiringPi2 Interrupt Syntax - pythonProgrammatically setting password points in EditText - androidAll Articles