Questions tagged [iphone-x]

Only use this tag for questions that specifically apply to the Apple iPhone X device. Use the [ios] tag for questions related to iOS. Hardware questions generally belonging to the iPhone X should be in the Ask Different community.

iPhone X is a mobile phone produced by Apple. Its key features include a 5.8 inch edge-to-edge "Super Retina Display", a dual-camera setup with extended AR compatibilities and the Face ID face recognition system.

Product page

641 questions
24
votes
3 answers

How to change home indicator background color on iPhone X?

I would like to change the background color of the view that appears on the bottom of the new iPhone X with a home indicator inside. Is it possible?
Fengson
  • 4,751
  • 8
  • 37
  • 62
23
votes
3 answers

Mapping image onto 3D face mesh

I am using the iPhone X and ARFaceKit to capture the user's face. The goal is to texture the face mesh with the user's image. I'm only looking at a single frame (an ARFrame) from the AR session. From ARFaceGeometry, I have a set of vertices that…
coco
  • 2,998
  • 1
  • 35
  • 58
23
votes
3 answers

How to extend bottom view colour below the home indicator in iPhone X?

Please check the attached image. The Viewcontroller's view's background colour is blue. This colour extends below the status bar and below the home indicator as you can see. There is a white view at the bottom which is a button. Here the white view…
abhimuralidharan
  • 5,752
  • 5
  • 46
  • 70
23
votes
5 answers

Launch Image names of iPhoneX?

A question about iPhoneX. I want put Launch Image of iPhoneX( 1125px × 2436px) in common folder. Not in LaunchImage source. What's the Launch Image names of iPhoneX? just like 'Default-iOS8-736h@3x', I can not found the name in …
lauren1573
  • 293
  • 1
  • 2
  • 9
21
votes
3 answers

iPhone X Aligning object bottom to Safe Area ruins look on other devices

Question on iPhone X Autolayout quirks. I have two buttons, previously these would be aligned bottom to the superview with an offset of 20 to not have them touching the bottom of the screen (I've since changed the link to Safe Area not…
0000101010
  • 695
  • 2
  • 10
  • 23
20
votes
3 answers

react-native Modal with SafeAreaView-wrapper not working

We have a FilterComponent which renders a Modal, but on iPhone X it's Header is in the Statusbar. I tried to render it with SafeAreaView but seems like this is not working: return (
Michael Ploeckinger
  • 1,616
  • 1
  • 11
  • 24
19
votes
3 answers

Child ViewController safe area inset doesn't update if partially offscreen

I am having difficulty with the Safe Area when sliding a child ViewController around on an iPhone X in landscape. I have a root ViewController, and one of its views is moveable and contains an embedded child ViewController. The real app is a…
Ben
  • 1,881
  • 17
  • 20
19
votes
1 answer

Getting the iPhone X safe area using JavaScript

We have safe-area-inset-left, safe-area-inset-right, safe-area-inset-top, and safe-area-inset-bottom in CSS, but how can we get those values using JavaScript?
Alice Chan
  • 2,814
  • 2
  • 16
  • 16
19
votes
7 answers

Detecting mobile device "notch"

With the launch of the iPhone X imminent, I'm trying to get ahead of the game and prepare some of my web applications to handle any design changes - the biggest of which being the new "notch" which houses the front camera. I was wondering whether…
kinggs
  • 1,162
  • 2
  • 10
  • 25
18
votes
3 answers

iPhone X Safari fixed button on bottom needs two clicks to respond

We've placed a fixed button on the bottom of the webpage using: .CTA-container { position:fixed; bottom:0; left:0; right:0; height:50px; background-color:#333; } a { font-size:20px; color:white; …
Guy
  • 12,488
  • 16
  • 79
  • 119
18
votes
1 answer

hide home indicator for iPhone X

i have an iOS app with video player, when the video is playing (landscape, full screen) i would like to hide the home indicator on iPhone X. I have try with if (@available(iOS 11.0, *)) { [self setNeedsUpdateOfHomeIndicatorAutoHidden]; } and…
wes. i
  • 627
  • 9
  • 26
16
votes
1 answer

Remove need to press "Tap to Load Preview" for iPhone OpenGraph SMS Message

I am trying to be able to send SMS messages with links that contain OpenGraph preview images which will load in the iOS "Messages" application and will display the thumbnail without the user having to press [Tap To Load Preview] first... How can…
Unverified Contact
  • 401
  • 1
  • 5
  • 12
16
votes
5 answers

CSS safe area attributes doesn't work on iPhone X

In my case I'm running a web app on iPhone X, I'm trying to add a padding on top to push my body to the safe area using the safe area css attributes of Webkit padding-top: constant(safe-area-inset-top); and padding-top: env(safe-area-inset-top);.…
Oussama Haff.
  • 524
  • 1
  • 3
  • 14
15
votes
2 answers

Safe area layout guide not working for UITableViewController in storyboard

Seems like UITableViewController does not have safe area layout guide to set table view top and bottom margin as collapses with bottom layout in iPhone X. All view controller are working fine with safe area layout guide in storyboard for top and…
SachinVsSachin
  • 6,401
  • 3
  • 33
  • 39
15
votes
4 answers

Unwanted white space on left of UIScrollView on iPhone X

UIScrollView works fine without the white space on the left on all iPads or iPhones except for iPhone X. How can I remove the white space? I use storyboards. Bounce On Scroll/Zoom are all disabled. No white space on iPad or iPhone except for iPhone…
zs2020
  • 53,766
  • 29
  • 154
  • 219
1 2
3
42 43