EDIT :

I think you have wrong simulator selected. The XS Max does give correct values as per your expectation. Heres a simple swift code (check nativeBounds for actual size) :

    print("Name:\t\(UIDevice.current.name)")
    print("Size:\t\(UIScreen.main.bounds.size)")
    print("Scale:\t\(UIScreen.main.scale)")
    print("Native:\t\(UIScreen.main.nativeBounds.size)")

And heres the output from all four X simulators

Name:   iPhone X
Size:   (375.0, 812.0)
Scale:  3.0
Native: (1125.0, 2436.0)

Name:   iPhone XR
Size:   (414.0, 896.0)
Scale:  2.0
Native: (828.0, 1792.0)

Name:   iPhone XS
Size:   (375.0, 812.0)
Scale:  3.0
Native: (1125.0, 2436.0)

Name:   iPhone XS Max
Size:   (414.0, 896.0)
Scale:  3.0
Native: (1242.0, 2688.0)

Original answer :

DeviceDisplay.ScreenMetrics in Xamarin.Essentials, is a simple bounds * scale calculation. (Ref : source code)

Scale documentation clearly states :

The default logical coordinate space is measured using points.

You can see from resolutions reference, that Points measurement for XS max and XR is exactly the same (although theres difference in pixel measurement).

This is what apple intends us to use for simplicity and avoid android like fragmentation in code (but theres 3 sizes already .. hmmph).

In conclusion, for any app / code related discussion, just refer to the points (i.e. scale factor) and forget physical dimensions and pixels.

Answer from Swapnil Luktuke on Stack Overflow
๐ŸŒ
Blisk
blisk.io โ€บ devices โ€บ details โ€บ iphone-xs-max
iPhone XS Max: viewport, screen size, CSS pixel ratio, cross-browser compatibility
iPhone XS Max has a Super Retina OLED display with a 6.5-inch screen (102.9 cm2, 19.5:9 aspect ratio), and an approximately 84.4% screen-to-body ratio. The display is a touch screen, meaning that it supports touch events - interactions using ...
๐ŸŒ
Apple Support
support.apple.com โ€บ en-us โ€บ 111880
iPhone XS Max - Technical Specifications - Apple Support
The iPhone XS Max display has rounded corners that follow a beautiful curved design, and these corners are within a standard rectangle. When measured as a standard rectangular shape, the screen is 6.46 inches diagonally (actual viewable area is less).
๐ŸŒ
Reddit
reddit.com โ€บ r/iphone โ€บ 2018 iphone screen size comparison - updated with more precise metrics & more models!
r/iphone on Reddit: 2018 iPhone Screen Size Comparison - Updated with more precise metrics & more models!
October 27, 2018 - XS is to the XR with the much smaller body. ... XR has bigger bezels so the entire phone will be closer to the size of the Max. ... The XR is very very similar in screen size to the XS, itโ€™s barely noticeable. The actual screen size, not the bezel. The XR has much more bezel than the Xs.
๐ŸŒ
YesViz
yesviz.com โ€บ devices โ€บ iphone-xs-max
iPhone XS Max viewport size, resolution, PPI, screen specs and CSS media queries | YesViz
Apple iPhone XS Max screen size is 6.5 inch with ~ 84.4% body ratio of actual device size. Physical dimensions for Apple iPhone XS Max device is 6.20 x 3.05 x 0.30 INCH or ( 157.5 x 77.4 x 7.7 MM).
๐ŸŒ
Dimensions.com
dimensions.com โ€บ element โ€บ apple-iphone-xs-max
Apple iPhone XS Max (12th Gen) Dimensions & Drawings | Dimensions.com
October 24, 2021 - The iPhone XS Max featured the largest iPhone screen ever displaying more than 3 million pixels, and had the longest battery life, lasting 1.5 hours more than the iPhone X. The Apple iPhone XS Max has a height of 6.2โ€ (157.5 mm), width of ...
Top answer
1 of 2
8

EDIT :

I think you have wrong simulator selected. The XS Max does give correct values as per your expectation. Heres a simple swift code (check nativeBounds for actual size) :

    print("Name:\t\(UIDevice.current.name)")
    print("Size:\t\(UIScreen.main.bounds.size)")
    print("Scale:\t\(UIScreen.main.scale)")
    print("Native:\t\(UIScreen.main.nativeBounds.size)")

And heres the output from all four X simulators

Name:   iPhone X
Size:   (375.0, 812.0)
Scale:  3.0
Native: (1125.0, 2436.0)

Name:   iPhone XR
Size:   (414.0, 896.0)
Scale:  2.0
Native: (828.0, 1792.0)

Name:   iPhone XS
Size:   (375.0, 812.0)
Scale:  3.0
Native: (1125.0, 2436.0)

Name:   iPhone XS Max
Size:   (414.0, 896.0)
Scale:  3.0
Native: (1242.0, 2688.0)

Original answer :

DeviceDisplay.ScreenMetrics in Xamarin.Essentials, is a simple bounds * scale calculation. (Ref : source code)

Scale documentation clearly states :

The default logical coordinate space is measured using points.

You can see from resolutions reference, that Points measurement for XS max and XR is exactly the same (although theres difference in pixel measurement).

This is what apple intends us to use for simplicity and avoid android like fragmentation in code (but theres 3 sizes already .. hmmph).

In conclusion, for any app / code related discussion, just refer to the points (i.e. scale factor) and forget physical dimensions and pixels.

2 of 2
-1

The question is settled. In fact, the XCode 10.0 simulator when you start the application from the Resources folder takes the most appropriate image and by its size builds the screen size of the simulator, and since the projects created earlier, there are no images for the new phone sizes, it takes the largest (that is, for the Iphone X). It is required to correct this.

๐ŸŒ
GSMArena
gsmarena.com โ€บ apple_iphone_xs_max-9319.php
Apple iPhone XS Max - Full phone specifications
Apple iPhone XS Max smartphone. Announced Sep 2018. Features 6.5โ€ณ display, Apple A12 Bionic chipset, Dual: 12 MP (f/1.8, 26mm, 1/2.55โ€ณ, 1.4ยตm) + 12 MP primary camera, 7 MP front camera, 3174 mAh battery, 512 GB storage, 4 GB RAM, Scratch-resistant glass.
๐ŸŒ
Piliapp
piliapp.com โ€บ actual-size โ€บ iphone-xs-max
Actual size of iPhone Xs Max
iPhone Xs Max ยท screen-size:6.46Inch (164.08mm) Resolution:2688 x 1242 ยท depth:7.7mm (0.3Inch) height:157.5mm (6.2Inch) weight:208g (7.34oz) width:77.4mm (3.05Inch) {as_size} / {as_monitor} full screen drag it iframe embed ยท Apple Watch Series 4 (40mm) Apple Watch Series 4 (44mm) iPhone Xr ยท
Find elsewhere
๐ŸŒ
Techable
apple.techable.com โ€บ home โ€บ iphone xs max | global
iPhone Xs Max | Global - Techable.com
August 19, 2025 - The iPhone Xs Max had a 6.5 inch diagonal OLED widescreen 3D Touch LED-backlit True Tone display that supported a native resolution of 2688ร—1242 (458 ppi). The iPhone Xs Max had a 6.5 inch diagonal OLED widescreen 3D Touch LED-backlit True ...
๐ŸŒ
MacRumors
forums.macrumors.com โ€บ iphone, ipad, and ipod touch โ€บ iphone โ€บ iphone
iPhone 8 Plus, XR, XS, XS Max screen sizes: For 16.9 video, 8 Plus is almost as big as XS Max | MacRumors Forums
September 13, 2018 - iPhone XS: 13.4 cm x 6.2 cm iPhone XR: 14.1 cm x 6.5 cm iPhone XS Max: 15.0 cm x 6.9 cm iPhone 8 Plus: 12.2 cm x 6.8 cm For the 8 Plus (and older Plus models), the entire screen is used for 16:9 video.
๐ŸŒ
Blisk
blisk.io โ€บ devices โ€บ details โ€บ iphone-xs
iPhone XS: viewport, screen size, CSS pixel ratio, cross-browser compatibility
iPhone XS has a Super Retina OLED display with a 5.8-inch screen (84.4 cm2, 19.5:9 aspect ratio), and an approximately 82.9% screen-to-body ratio.
๐ŸŒ
PCMAG
pcmag.com โ€บ home โ€บ news โ€บ mobile phones
How Big Is the iPhone XS Max, Really? | PCMag
September 18, 2018 - The Apple iPhone XS Max is smaller than you think, because its '6.5-inch' screen size is misleading. Here's how it compares to other phones you know.
๐ŸŒ
EE Business
business.ee.co.uk โ€บ help โ€บ products-and-services โ€บ iphone-xs-size
iPhone XS size | EE Business
Of course, if you want the largest screen possible, you want the iPhone XS Max. Measuring in at 6.5 inches, corner to corner, itโ€™s the closest thing you can get to a tablet, without actually carrying a tablet.
๐ŸŒ
Blogger
taipeigeek.blogspot.com โ€บ 2018 โ€บ 09 โ€บ iphone-xs-and-iphone-xs-max-display-surface-area-compared.html
iPhone Xs and iPhone Xs Max display surface area comparison | TAIPEI GEEK
I then calculated the display surface area of my iPhone 8 Plus in square inches (12.96) and square centimeters (83.57), and divided it with the pixel dimension to get the size of 1 pixel in both square inches and square centimeters. Once I had this, I just multiplied it with the pixel dimensions ...
๐ŸŒ
YesViz
yesviz.com โ€บ devices โ€บ iphone-xs
iPhone XS viewport size, resolution, PPI, screen specs and CSS media queries | YesViz
Apple iPhone XS viewport size is 375 x 812 PX with ~ 153 actual pixel density, which means it have 3 xxhdpi display pixel density. The sum of pixels which are displaying on a device is called as "Screen Resolution".
๐ŸŒ
Wikipedia
en.wikipedia.org โ€บ wiki โ€บ IPhone_XS
iPhone XS - Wikipedia
3 days ago - Apple positioned the iPhone XS and XS Max as premium devices, targeting consumers seeking cutting-edge performance and advanced features, while simultaneously offering the iPhone XR โ€“ a lower-cost alternative with the same Apple A12 Bionic chip, but an LCD IPS panel display and a singular camera.
๐ŸŒ
EE Business
business.ee.co.uk โ€บ help โ€บ products-and-services โ€บ iphone-xs-screen
iPhone XS screen size and protection | EE Business
Measured corner-to-corner, the iPhone XS has a 5.8-inch screen. If you want an even larger screen, the iPhone XS Max measures up at 6.5 inches.
๐ŸŒ
iDownloadBlog
idownloadblog.com โ€บ home โ€บ iphone xs and iphone xs max tech specs
iPhone Xs and iPhone Xs Max tech specs
September 12, 2018 - Size & Weight: iPhone Xs: Height: 5.65 inches (143.6 mm) Width: 2.79 inches (70.9 mm) Depth: 0.30 inch (7.7 mm) Weight: 6.24 ounces (177 grams) iPhone Xs Max: Height: 6.20 inches (157.5 mm) Width: 3.05 inches (77.4 mm) Depth: 0.30 inch (7.7 ...
๐ŸŒ
iOS Resolution
ios-resolution.com โ€บ iphone-xs-max
iOS Resolution // iPhone XS Max
iOS Resolution ยท iPhone XS Max ยท Home Imprint Privacy Policy