Top "Iphone-x" questions

Only use this tag for questions that specifically apply to the Apple iPhone X device.

Detect if the device is iPhone X

My iOS app uses a custom height for the UINavigationBar which leads to some problems on the new iPhone X. …

ios objective-c iphone iphone-x
Get safe area inset top and bottom heights

On the new iPhone X, what would be the most proper way to get both top and bottom height for …

ios iphone-x safearealayoutguide
How do I use Safe Area Layout programmatically?

Since I don't use storyboards to create my views, I was wondering if there's the "Use Safe Area Guides" option …

ios swift iphone-x safearealayoutguide
iPhone X / 8 / 8 Plus CSS media queries

What are the CSS media queries corresponding to Apple's new devices ? I need to set the body's background-color to change …

css media-queries iphone-x iphone-8 iphone-8-plus
Cordova app not displaying correctly on iPhone X (Simulator)

I tested my Cordova-based app yesterday on the iPhone X Simulator in Xcode 9.0 (9A235) and it didn't look good. Firstly, …

ios cordova phonegap iphone-x
What is the top bar height of iPhone X?

I would like to know exact height of top bar of iPhone X. Could you please mention the status bar …

ios xcode iphone-x
Seeing black bars at the top and bottom of the iPhone X Simulator

Running my App in the iPhone X Simulator (GM Seed) I am noticing two strange effects: the App does not …

ios uinavigationbar ios-simulator xcode9 iphone-x
safeAreaInsets in UIView is 0 on an iPhone X

I am updating my app to adapt it for iPhone X. All views work fine by now except one. I …

ios iphone swift iphone-x
Extra bottom space/padding on iPhone X?

On the iPhone X in portrait mode, if you set a bottom constraint to safe area to 0, you will end …

ios iphone swift iphone-x
How to Add iPhoneX Launch Image

Using Xcode Version 9.0 (9A235), I am trying to add a Launch Image for iPhoneX at the requested 2436px × 1125px (landscape). …

ios xcode iphone-x