Axway AMPLIFY Blogs

The Leading Resource for All THings Mobile & Data Integration

Supporting iPhone X in Titanium

64 Flares 64 Flares ×

During their keynote on Tuesday, Apple presented their new flagship iPhone – called iPhone X – along with iPhone 8 and iPhone 8+. As the iPhone X has some significant differences from other iPhone models, here’s a quick heads-up, so developers can migrate their apps to support the iPhone X from its launch in early November.

iPhone X Changes

The primary changes in iPhone X that Titanium developers need to consider include:

  • New screen-sizes: 1125×2436 (Portrait) and 2436×1125 (Landscape)
  • Face-Detection API: Authenticate with your content via the Face ID API
  • Safe-Area layout-guides: Use specific layout-margins to describe the spacing between your content and the visible container of your screen

Roadmap

While we support iOS 11 with yesterday’s 6.2.0.GA release (including machine-learning, realtime-object-detection and augmented reality), we have also made a JIRA ticket to track changes specific to iPhone X that will be addressed in Titanium SDK 6.3.0 scheduled to release by end of September this year. The only required change will be the support for the new launch screens, which already has a pull request on Github to support. Also, developers using Storyboards will not have to update their apps, as they will adapt to the new screen-size automatically.

Summary

We are happy to say that we support iPhone X today with more improvements coming. Make sure to become familiar with the updated iOS Human Interface Guidelines and follow the related JIRA-tickets to stay updated about the progress. If you have any questions, also feel free to reach out to us via Twitter, StackOverflow or join our Slack community.

Here’s a look at the KitchenSink sample-app runnning on iOS 11 and iPhone X:

KitchenSink sample-app runnning on iOS 11 and iPhone X

Code Strong!

64 Flares Twitter 0 Facebook 0 Google+ 0 LinkedIn 64 Email -- 64 Flares ×

6 Comments

  1. Nij

    Hi Hans
    I couldn’t find anything about the large navigationBar which was introduced with iOS11. Can you tell me if and where this is supported?
    (hint: prefersLargetitles)

    • Hey Nij,

      we will support that completely using the upcoming release 6.3.0, see the related ticket here.

  2. Ewgeni

    Hi Hans,

    i just wanted to ask if there is a new release date for SDK 6.3, because End of September is already over.

    Kind Regards
    Ewgeni

    • Hey Ewgeni, the RC is scheduled for next Tuesday, but you can try the pre-release already using the CLI (appc ti sdk install -b 6_3_X).

  3. marcin

    hi hans,
    we use a custom navigation bar – will there be a api to see if the status bar has is 44dp instead of 20dp?

    • Brian

      Yes how do we detect if the device is an iPhone X, so we can move our content down 44dp vs 20dp?

Comments are closed.

computer and tablet showing Appcelerator software
Start free, grow from there.
64 Flares Twitter 0 Facebook 0 Google+ 0 LinkedIn 64 Email -- 64 Flares ×