Looking closer – iOS
Ah iOS! The platform that transformed mobile app development and brought it to the mainstream. Hey! You are probably wondering that LibGDX is a Java-based framework, so how on earth does it run on iOS? Apple banned Java Runtimes long ago. Well you are correct, the game isn't exported as you might think it is. In fact, an additional tool called RoboVM is used. RoboVM's project aim was to allow Java developers to develop the game on the iOS platform, and the best bit is that the game will have a native-style performance. It doesn't need a runtime to launch. How is this possible? Well, RoboVM compiles the bytecode, generated by the Java compiler, with machine code.
To check out RoboVM, visit its website, http://robovm.com/.
LibGDX ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access