Last active
October 10, 2019 12:24
-
-
Save steipete/8c6d79d76b57420c57963b945b9147ce to your computer and use it in GitHub Desktop.
UIScreen on Catalyst is.. weird (tested with 10.15.0 GM). Reported as FB7364971
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(lldb) po UIScreen.mainScreen | |
<UIScreen: 0x119905f10; bounds = {{0, 0}, {960, 540}}; mode = <UIScreenMode: 0x600000290300; size = 1920.000000 x 1080.000000>> | |
Display: 15,4-inch (2880 x 1800) | |
Scaling set to max, so effectively 1920x1200 (virtual screen of 3840x2400) | |
What I would expect: <UIScreen bounds = {{0, 0}, {1920, 1200}}; mode = <UIScreenMode: 0x600000290300; size = 3840.000000 x 2400.000000>> | |
------ | |
To compare, on the 11-inch iPad we get: | |
<UIScreen: 0x7fcf15d1a160; bounds = {{0, 0}, {834, 1194}}; mode = <UIScreenMode: 0x6000003e5f80; size = 1668.000000 x 2388.000000>> | |
Screen: | |
Liquid Retina display | |
11-inch (diagonal) LED-backlit Multi‑Touch display with IPS technology | |
2388-by-1668-pixel resolution at 264 pixels per inch (ppi) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment