Well, im sure many of you updating their game to support the iPhone X layout, and there are many ways but this is what I do to quick things up and know how to position my UI in the iPhone X…
1- Add iPhone X screen resolution in the Game window (1125 x 2436)
2- Add a new canvas and make sure to change the UI Scale Mode to (Scale with Screen Size) and add the resolution and the Match to (0.5)
If anyone searching this thread is also looking to demystify how the iPhone X safe area works (and soon other Android notched phones such as the Google Pixel 3 XL) - I’ve written a detailed article here with sample code and screenshots: Unity Live Help. Hope it helps!
In the Iphone X intro video it did look as though fullscreen video/camera wrapped around the black bar. Personally I think it would be better if it did just crop off in line with bar and they had buttons or horizontal slide out menus in the remaining space. There has already been some speculation that the black bar will interfere with the function of a digital analogue stick, but only time will tell.
In the Iphone X intro video it did look as though fullscreen video/camera wrapped around the black bar. Personally I think it would be better if it did just crop off in line with bar and they had buttons or horizontal slide out menus in the remaining space. There has already been some speculation that the black bar will interfere with the function of a digital analogue stick, but only time will tell.
hi Danarkayfi, i have quesion, how you do you scale resolution of iphone 8 to iphone x, I am trying to scale it with scale with the screen and i am getting empty space on top of the GUI, I think aspect ratio of iphone 8 and below models are different then iphone 10 models, have you guys find solution for it