How to prepare your App for the new iPhone X ?
technology

Know if Your App is Ready for the new iPhone X?

App developers better gear up because their App need a whole lot of revamping to shine on the new iPhone X

Know if Your App is Ready for the new iPhone X?

The latest iPhone X is trending as the “need of the hour” and almost all apps need a revamp to keep up with the trending technology. In Apple’s defence, it did remind developers to update their apps, prior to the launch of iPhone X. While many have challenged its infamous Face ID technology, the tech giant is doing its best by all possible means such as acquiring new startups, adding new AR features as it brings new innovations to please its loyal users. Considering the hype and the controversies around it, Apple was under a great deal of pressure to not disappoint its mobile users. Naturally, with Apple’s revamped App Store, the launch of iOS 11 and the brand new iPhone X, things are about to change.

Is your App ready for this change? Let’s find out:

1. Basics

In order to make the most of the Full-Screen Display Mode on iPhone X, developers will need to use Xcode 9 to build your app with iOS 11 SDK. Xcode 9 includes Swift 4 and SDKs for iOS 11, watchOS 4, tvOS 11, and macOS High Sierra 10.13.

2. Launch Images will be replaced by launch storyboard

Developers can still continue with launch images, in order to avoid running your app in letterbox, its best to switch to launch storyboard or add one for new iPhone X dimensions.

3. Stick to the safe areas

  • UI displays can make or mar an App on iPhone X. To make sure no elements of UI displays are clipped, mispositioned, incorrectly scaled or overlapping, use Apple’s safe area guides and layout margins to find out any such issues. The safe areas also help in the layout of your content.

  • The tool helps you find out which portion of the view is not covered by navigation bars, tab bars, toolbars, and other ancestor views by highlighting those uncovered sections when your app view is displayed on the screen.

  • The safe areas can also be added to multiple views which comes handy when you need to constrain some view to edges of the screen. The guide serves as one of the primary tools that helps your app adjust to the new iPhone X.
  • Developers must know that safe area layout guides are backward compatible up to iOS 9 which means you need to say goodbye to iOS 8, if you’re aiming for compatibility with iPhone X dimensions.
  • Hunt your STORYBOARDS AND XIBS and adjust them to safe areas. In order to do this, go through each of your xib or storyboard in Xcode 9, and choose the option of Safe Area Layout Guides. This will replace not only your top and bottom layout guides but also the leading and trailing edges with safe area layout guides. Wrap it up with a smoke test after each adjusted screen to make sure it's working well.

Stick with Updates

4. Tend to the TableView

While the UITableView itself will run edge to edge, the contentView of your UITableViewCell is constrained by the safe area. In case you want to make any changes, you can use the new UITableView.insetsContentViewsToSafeArea setting provided by iOS 11.

5. Be careful of the bottom of the screen

  • Avoid placing controls at the bottom of the screen. In case your app uses custom controls, make sure they’re in the safe areas. As for superviews, it's best to constrain them to the edge of the screen.
  • Avoid placing swipe up gestures from the bottom of the screen as Apple has reserved the bottom area for the virtual home button indicator.

6. Native components will be taken care of by Apple

The layout of native components in an App such as UITableView, UINavigationBar or UITabBar, will be automatically adjusted for the iPhone X.

7. Don’t forget the Landscape mode

While you may have fixed all the issues cropping in portrait mode, make sure you’ve doubled checked those issues as a majority of them are likely to appear in landscape mode. Make sure you test all of your UI with the device rotated, both to the left and to the right.

8. Unlock the bolder navigation bar

The navigation bar in iOS 11 is using Auto Layout and the fonts are bigger and bolder. Although, the setting is disabled by default if you want to provide a content rich experience in your Apps, enable the setting to automatic.

Navigation Bar in iPhone X

9. Unification of the navigation and search bar

Now that Apple has unified the navigation and the search bar, you don’t want to be the only one with an abrupt non-unified search bar looks bad on an iPhone X. How can you fix this?

I assume this is what you have at the moment.

Specification in iPhone X

Use this code to fix it

Unification of iPhone X

10. Finally

Before you submit your App to the App Store, get it reviewed by Test Flight Beta Testing. Once you’ve incorporated all the valuable feedback, its time to update your PRODUCT PAGE. For step-by-step instructions how to submit your apps for distribution on the App Store, see the iTunes Connect Developer Help.

Tanya <span>Editor In Chief</span>
Written By
Tanya Editor In Chief

She is a content marketer and has more than five years of experience in IoT, blockchain, Web, and mobile development. In all these years, she closely followed the app development, and now she writes about the existing and the upcoming mobile app technologies. Her essence is more like a ballet dancer.

technology

American Social Networking Service Gab Gets Suspended After Pittsburgh Synagogue Shooting

2 min read  

In yet another mass-shooting in the US, a man named Robert Bowers, 46, is being held as guilty. The deadly shooting at a suburban Pittsburgh synagogue left 11 people dead and six people injured, out of these six, two victims are stated to be in a critical condition. To investigate into this horrific

technology

Apple Finally Announces "The End of iTunes LPs", No More Submissions After March

4 min read  

Apple is ceasing the submissions for its lesser-known service iTunes LP after March 2018. The LPs are the additional service from the company that offers iTunes users extra elements like videos, tracks and liner notes while purchasing an album. Apple won't be taking any submissions from the musi

technology

How IoT Improves Patient Compliance in the Healthcare Industry

4 min read  

The emergence of IoT has been quite influential in terms of the Healthcare industry. Here we are talking about the patient’s compliance with the healthcare industry that has been increased with the better IoT.Now, the patient’s interaction with their doctor is no longer restricted to

technology

Onboarding Google Pay: Payment Option Integrated For The Web Now

4 min read  

Google is global and probably penetrated every market that operates in the service industry. Fairly obvious, as it’s Sundar Pichai who is in the driver’s seat. The man with the ambition has given another reason to google for blowing up the web with the Google Pay. Google is cementing its