Fork us on GitHub


Its been a long time coming, the main delay in getting iOS 7 ...
Post Image


Its been a long time coming, the main delay in getting iOS 7 support into your hands has been with the need to upgrade all the servers. Apple seems to require OS upgrades as well when it updates xcode so we had to go one by one and update everything.
This is now all in place and you can start building apps that take advantage of iOS 7 functionality and are built using xcode 5.

When you send an app to the build server without doing anything it will still be built with the existing iOS 6 theme and xcode 4.5 and will act like it has for the past year or so. However, we now provide you with the ability to use xcode 5 for building and indicate a theme mode.
There are 4 theme modes:

  • Default - this just means you don't define a theme mode. Currently this is equivalent to legacy. In the future we will switch this to be equivalent to auto
  • legacy - this will behave like iOS 6 regardless of the device you are running on.
  • modern - this will behave like iOS 7 regardless of the device you are running on.
  • auto - this will behave like iOS 6 on older devices and iOS 7 on newer devices
You can define these by setting the build argument ios.themeMode to legacy, modern or auto.
On NetBeans you can use the UI we just added in the latest plugin (seen in the screenshot here).

To use xcode 5 which you would probably want if you target the latest iOS 7 devices just define ios.xcode_version=5.0

Those of you who submitted apps to the store know that you need screenshots in the various resolutions to match, that is why we added iOS 7 versions of all the iOS device skins to the skin section. Just select More in the simulator skin menu to download additional iOS 7 skins.

Notice: This post was automatically converted using a script from an older blogging system. Some elements might not have come out as intended.... If that is the case please let us know via the comments section below.

Share this Post:

Posted by Shai Almog

Shai is the co-founder of Codename One. He's been a professional programmer for over 25 years. During that time he has worked with dozens of companies including Sun Microsystems.
For more follow Shai on Twitter & github.