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
0
votes
0 answers

UILabel multiple lines for iPhone X is not working

I have been working on an app and there is a label with multiple lines in it. All devices show the label correct except iPhone X. I was trying: cell.lblCategoryName.lineBreakMode = NSLineBreakByWordWrapping; cell.lblCategoryName.numberOfLines =…
birdcage
  • 2,638
  • 4
  • 35
  • 58
0
votes
1 answer

Get screen dimension (per scanline) in pixels for iPhone X (10) ios 11

Considering that iPhone X Notch has smooth curves (no rectangle around notch), How to find if a pixel (x,y) on captured screenshot is part of draw buffer covered by the notch (vs actual display buffer) on iPhone X? I am trying to log start X and end…
lal
  • 7,410
  • 7
  • 34
  • 45
0
votes
1 answer

contentInsetAdjustmentBehavior seems not act right for child UIControllerView 's UIScrollview

i use WMPageController as my one of viewcontroller, as we know , on iphoneX, scrollview will by default has a safeArea which constrain your content view in center ,that is top with 44 status height and 44 normal navibar height and to the bottom with…
SevenJustin
  • 61
  • 11
0
votes
1 answer

Game crash only on iPhone X and iPhone 8 Plus

I'm working on game and the game works perfect on all iPhones and iPad expect iPhone X and iPhone 8 Plus When I add sprite to the scene the game crash (only on iPhone X and iPhone 8 Plus) because the sprite is already added to scene, On others…
Avi Rok
  • 550
  • 1
  • 4
  • 7
0
votes
1 answer

Migrate app to ios11 for Iphone X

I need to update my app and make it look good on the iphone X. I've seen a couple of answers on stackoverflow and on the internet regarding the new safe area option (Use Safe Area Layout Guides). According to what I've read the app should adapt…
Max1980
  • 209
  • 2
  • 4
  • 11
0
votes
1 answer

How to add the iPhone X screen dimensions to the mix of different iPhone dimensions in Unity

Generally for Unity I design all my artwork in Illustrator. So I start off with 1440x1920 (for portrait games) and outline a red frame of 1080x1920. So everything that fits well within the 1080x1920 usually covers the family of iOS devices for me.…
Containment
  • 239
  • 2
  • 12
0
votes
1 answer

Would a black theme app get rejected on the App Store because of iPhone X notch?

My current app inside the App Store has an black theme option which makes the background black. On iPhone X it will hide the notch. I am currently updating it for iOS 11, but I was thinking that Apple does not want you to hide the notch. Does…
Adrian
  • 19,440
  • 34
  • 112
  • 219
0
votes
2 answers

Wrong views position on iPhone X

My app looked well on all devices, until I tested it on new iPhone X (See the attached screenshot). Search bar is under navigation bar, and it's awful. I tried playing with new safe area insets, edgesForExtendedLayout, but with no success. Maybe…
iOS Dev
  • 4,143
  • 5
  • 30
  • 58
0
votes
1 answer

How should I change my OpenGL app to use the iOS 11 safe area?

I maintain an OpenGL app that's been running on iOS since 2010. It uses the full screen and hides the status bar. It launches without any .nib file and creates an OpenGL view & controller that, in turn, displays all app content. What changes do I…
Bungles
  • 1,969
  • 2
  • 25
  • 54
0
votes
1 answer

How to handle iPhone X bottom gap when laying out UIViewController

What is the correct approach for a UIViewController to handle the bottom gap where the home slider is on the iPhone X, ie how should it be laid out?
Vlad
  • 5,727
  • 3
  • 38
  • 59
0
votes
2 answers

iphone x: keep search bar within safe zone

Upgrading our application to support iPhone X. How can I add a search bar to the header of a table view and have it within the safe zone? Here is how we currently build the search bar. let searchController =…
Jason Hocker
  • 6,879
  • 9
  • 46
  • 79
0
votes
1 answer

Iphone X Custom Navigation Support, Tab Bar Size

In my application I am using custom Navigation bar which loads from XIB, As Iphone X has different Status Bar and Top Bar what are the changes need to make? Or it will run normally? Is status bar color is still relevant? Also has changes for…
Prashant Tukadiya
  • 15,838
  • 4
  • 62
  • 98
0
votes
2 answers

Adapt Xcode 7 and later applications on iPhone X

I know it's early to talk about it, but I've downloaded the XCode 9 final build with support for the iPhone X. I have a problem, all my apps I created with Xcode 7 and then updated with 8. I still did not use the single display, but I have a…
Jollyvideos
  • 113
  • 2
  • 7
-1
votes
0 answers

Admob countdown time hider behind the status of iPhone x

I am implementing rewarded interstitial Admob ad in my iOS app. But the count down timer hide behind the status bar of iPhone X. See here
Jamil
  • 2,977
  • 1
  • 13
  • 23
-1
votes
1 answer

Clickable buttons outside safe area

Is is possible to have buttons clickable outside safe area (btw how is it called? nonsafe area?)? I have buttons like in screenshot and highlight area where my app doesn't recognize touch (it's screenshot from simulator iPhone XR, there is notch but…
Libor Zapletal
  • 13,752
  • 20
  • 95
  • 182